cfd mep

Syntax

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

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

View

Layer 2 Ethernet interface view

Default 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.

Description

Use cfd mep to create a MEP.

Use undo cfd mep to delete the specified MEP.

By default, no MEP exists on a port.

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

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

Related commands: cfd meplist.

Examples

# Configure a MEP list in service instance 5, and create and enable inward-facing MEP 3 in service instance 5 on Ethernet 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 ethernet 1/0/1
[Sysname-Ethernet1/0/1] cfd mep 3 service-instance 5 inbound