CLI Reference Guide-R04

Table Of Contents
Chapter 27
| CFM Commands
Defining CFM Structures
– 812 –
ethernet cfm mep This command sets an interface as a domain boundary, defines it as a maintenance
end point (MEP), and sets direction of the MEP in regard to sending and receiving
CFM messages. Use the no form to delete a MEP.
Syntax
ethernet cfm mep mpid mpid md domain-name ma ma-name [up]
no ethernet cfm mep mpid mpid ma ma-name
mpid – Maintenance end point identifier. (Range: 1-8191)
domain-name – Domain name. (Range: 1-43 alphanumeric characters)
ma-name – Maintenance association name. (Range: 1-43 alphanumeric
characters)
upIndicates that the MEP faces inward toward the switch cross-connect
matrix, and transmits CFM messages towards, and receives them from, the
direction of the internal bridge relay mechanism. If the up keyword is not
included in this command, then the MEP is facing away from the switch,
and transmits CFM messages towards, and receives them from, the
direction of the physical medium.
Default Setting
No MEPs are configured.
The MEP faces outward (down).
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
CFM elements must be configured in the following order: (1) maintenance
domain at the same level as the MEP to be configured (using the ethernet cfm
domain command), (2) maintenance association within the domain (using the
ma index name command), and (3) finally the MEP using this command.
An interface may belong to more than one domain. This command can be used
to configure an interface as a MEP for different MAs in different domains.
To change the MEP’s MA or the direction it faces, first delete the MEP, and then
create a new one.
Example
This example sets port 1 as a DSAP for the specified maintenance association.
Console(config)#interface ethernet 1/1
Console(config-if)#ethernet cfm mep mpid 1 md voip ma rd
Console(config-if)#