57-25
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 CVLAN Up MEP:
Switch(config)# ethernet cfm domain abc level 3
Switch(config-ecfm)# service CVLANMEP vlan 10 inner-vlan 20
Switch(config-ecfm-srv)# continuity-check
Switch(config-ecfm-srv)# exit
Switch(config-ecfm)# exit
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# ethernet cfm mep domain abc mpid 1020 service CVLANMEP
Switch(config-if)# end
Similarly, a manual configuration of MIP for CVLAN is configured using the ethernet cfm mip level
level-id vlan svlan-id inner-vlan cvlan-id command.
Step 5 Switch(config-ecfm-arv)# continuity-check
interval value (Optional) Set 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 6 Switch(config-ecfm-arv)# continuity-check
loss-threshold threshold-value (Optional) Set 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 7 Switch(config-ecfm-arv)# exit Returns to Return to ethernet-cfm configuration mode.
Step 8 Switch(config-ecfm)# exit Returns to global configuration mode.
Step 9 Switch(config)# interface interface-id Identify the CVLAN MEP interface and enter interface
configuration mode.
Step 10 Switch(config-if)# ethernet cfm mep domain
domain-name mpid identifier service {ma-name |
ma-number | vpn-id}]
Configure the interface as a CVLAN Up 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.
service {ma-name | ma-number | vpn-id}—Use the
same service identifier that was used for configuring
CVLAN Service above in Step3.
Step 11 Switch(config-if)# end Returns to privileged EXEC mode.
Step 12 Switch# show ethernet cfm maintenance-points
local Verify the configuration.
Step 13 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose