cfd mep
Use cfd mep to create a MEP.
Use undo cfd mep to delete the specified MEP.
Syntax
cfd mep mep-id service-instance instance-id { inbound | outbound }
undo cfd mep mep-id service-instance instance-id
Default
No MEP exists on a port.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-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.
Configurations in Ethernet interface view take effect only on the current interface; configurations in aggregate interface view take effect on the aggregate interface and all its member ports; configurations on a member port take effect only when the member port leaves the aggregation group.
Examples
# Configure a MEP list in service instance 5, and create and enable inward-facing MEP 3 in service instance 5 on Ten-GigabitEthernet 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 ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] cfd mep 3 service-instance 5 outbound
Related commands
cfd meplist