Views
Layer 2 Ethernet interface view
Default command level
2: System level
Parameters
mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.
service-instance instance-id: Specifies the service instance ID, ranging from 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.
Examples
# Configure a MEP list in service instance 5, and create and enable inward-facing MEP 3 in service
instance 5 on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] cfd md test_md level 3
[Sysname] cfd ma test_ma md test_md vlan 100
[Sysname] cfd service-instance 5 md test_md ma test_ma
[Sysname] cfd meplist 3 service-instance 5
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] cfd mep 3 service-instance 5 inbound
Related commands
cfd meplist
cfd mep enable
Use cfd mep enable to enable the MEP configured on a port.
Use undo cfd mep enable to disable the MEP.
Syntax
cfd mep service-instance instance-id mep mep-id enable
undo cfd mep service-instance instance-id mep mep-id enable
Default
MEP is disabled on a port and cannot respond to various CFD frames (such as LTM frames, and LBM
frames) unless you enable it.
Views
Layer 2 Ethernet interface view
Default command level
2: System level
32