cfd mep

Use cfd mep to create a MEP.

Use undo cfd mep to delete the specified MEP.

Syntax

Layer 2 Ethernet interface view or Layer 2 aggregate interface view:

cfd mep mep-id service-instance instance-id { inbound | outbound }

undo cfd mep mep-id service-instance instance-id

Layer 3 Ethernet interface view:

cfd mep mep-id service-instance instance-id outbound

undo cfd mep mep-id service-instance instance-id

Default

No MEP exists on a port.

Views

Layer 2/Layer 3 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

Parameters

mep mep-id: Specifies the ID of a MEP, in the range of 1 to 8191.

service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767.

inbound: Creates an inward-facing MEP.

outbound: Creates an outward-facing MEP.

Usage guidelines

In creating a MEP, the service instance you specified defines the MD and MA to which the MEP belongs.

You cannot create a MEP if the MEP ID is not included in the MEP list of the relevant service instance.

Follow these guidelines when you use this command:

Examples

# Configure a MEP list in service instance 5, and create inward-facing MEP 3 in service instance 5 on FortyGigE 1/0/1.

<Sysname> system-view
[Sysname] cfd md test_md level 3
[Sysname] cfd service-instance 5 ma-id vlan-based md test_md vlan 100
[Sysname] cfd meplist 3 service-instance 5
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] cfd mep 3 service-instance 5 outbound

Related commands

cfd meplist

cfd port-trigger