57-15
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 57 Configuring Ethernet OAM and CFM Configuring Ethernet CFM
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:
Switch(config)# ethernet cfm domain abc level 3
Switch(config-ecfm)# service PORTMEP port
Switch(config-ecfm-srv)# mep mpid 222
Switch(config-ecfm-srv)# continuity-check
Switch(config-ecfm-srv)# continuity-check static rmep
Switch(config-ecfm-srv)# exit
Switch(config-ecfm)# exit
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# ethernet cfm mep domain abc mpid 111 port
Switch(config-if)# end
Step 6 Switch(config-ecfm-srv)# continuity-check
interval value (Optional) Sets the interval at which continuity check
messages are sent. The available values are 1 second, 10
seconds, 1 minute, and 10 minutes. The default is 10
seconds.
Note Because faster CCM rates are more CPU-intensive,
we do not recommend configuring a large number
of MEPs running at 1 s intervals.
Step 7 Switch(config-ecfm-srv)# continuity-check
loss-threshold threshold-value (Optional) Sets the number of continuity check messages to
be missed before declaring that an MEP is down. The range
is 2 to 255; the default is 3.
Step 8 Switch(config-ecfm-srv)# continuity-check
static rmep Enables checking of the incoming continuity check
message from a remote MEP that is configured in the MEP
list.
Step 9 Switch(config-ecfm-srv)# exit Returns to ethernet-cfm configuration mode.
Step 10 Switch(config-ecfm)# exit Returns to global configuration mode.
Step 11 Switch(config)# interface interface-id Identifies the port MEP interface and enter interface
configuration mode.
Step 12 Switch(config-if)# ethernet cfm mep domain
domain-name mpid identifier port
Configures 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 Switch(config-if)# end Returns to privileged EXEC mode.
Step 14 Switch)# show ethernet cfm maintenance-points
remote static Verifies the configuration.
Step 15 Switch)# show ethernet cfm errors
[configuration]Enters 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 Switch)# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose