10-15
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 10 Configuring Ethernet OAM
Note Use the no form of each command to remove a configuration or to return to the default settings.
This is a sample configuration for a port MEP:
Router(config)# ethernet cfm domain abc level 3
Router(config-ecfm)# service PORTMEP port
Router(config-ecfm-srv)# mep mpid 222
Router(config-ecfm-srv)# continuity-check
Router(config-ecfm-srv)# continuity-check static rmep
Router(config-ecfm-srv)# exit
Router(config-ecfm)# exit
Router(config)# interface gigabitethernet 0/1
Router(config-if)# ethernet cfm mep domain abc mpid 111 port
Router(config-if)# end

Configuring SNMP Traps

To configure traps for Ethernet CFM, complete the following steps:
Step 12 ethernet cfm mep domain domain-name mpid
identifier port
Configure the interface as a port MEP for the domain.
domain domain-name—Specify the name of the
created domain.
mpid identifier—Enter a maintenance end point
identifier. The identifier must be unique for each
VLAN (service instance). The range is 1 to 8191.
Step 13 end Return to privileged EXEC mode.
Step 14 show ethernet cfm maintenance-points remote
static
Verify the configuration.
Step 15 show ethernet cfm errors [configuration] Enter this command after you enable CFM crosscheck to
display the results of the crosscheck operation. Enter the
configuration keyword to display the configuration error
list.
Step 16 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 snmp-server enable traps ethernet cfm cc [mep-up]
[mep-down] [config] [loop] [cross-connect]
(Optional) Enable Ethernet CFM continuity check traps.
Step 3 snmp-server enable traps ethernet cfm crosscheck
[mep-unknown] [mep-missing] [service-up]
(Optional) Enable Ethernet CFM crosscheck traps.
Step 4 end Return to privileged EXEC mode.
Step 5 show running-config Verify your entries.
Step 6 copy running-config startup-config (Optional) Save your entries in the configuration file.