Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
57-11
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 57 Configuring Ethernet OAM and CFM
Configuring Ethernet CFM
Use the no versions of the commands to remove the configuration or return to the default configurations.
This is an example of the basic CFM configuration:
Switch(config)# ethernet cfm ieee
Switch(config)# ethernet cfm global
Switch(config)# ethernet cfm domain abc level 3
Switch(config-ecfm)# service test vlan 5
Switch(config-ecfm-srv)# continuity-check
Switch(config-ecfm-srv)# exit
Switch(config-ecfm)# exit
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# ethernet cfm mep domain abc mpid 222 vlan 5
Switch(config-if-ecfm-mep)# exit
Configuring Ethernet CFM Crosscheck
To configure Ethernet CFM crosscheck, perform this task:
Step 25
end
Return to privileged EXEC mode.
Step 26
show ethernet cfm maintenance-points {local |
remote}
Verify the configuration.
Step 27
show ethernet cfm errors [configuration]
(Optional) Display the configuration error list.
Step 28
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# ethernet cfm mep crosscheck
start-delay delay
Configures the number of seconds that the device waits for
remote MEPs to come up before the crosscheck is started.
The range is 1 to 65535; the default is 30 seconds.
Step 3
Switch(config)# ethernet cfm domain
domain-name level level-id
Defines a CFM domain, set the domain level, and enter
ethernet-cfm configuration mode for the domain. The
maintenance level number range is 0 to 7.
Step 4
Switch(config)# service {ma-name | ma-number |
vpn-id vpn} {vlan vlan-id}
Define a customer service maintenance association name
or number or VPN ID to be associated with the domain, and
a VLAN ID, and enter ethernet-cfm-service configuration
mode.
ma-name—A string of no more than 100 characters
that identifies the MAID.
ma-number—A value from 0 to 65535.
vpn-id vpn—Enter a VPN ID as the ma-name.
vlan vlan-id—VLAN range is from 1 to 4094. You
cannot use the same VLAN ID for more than one
domain at the same level.
Step 5
Switch(config-ether-cfm)# mep mpid identifier
Define the MEP maintenance end point identifier in the
domain and service. The range is 1 to 8191.
Step 6
Switch(config)# end
Returns to privileged EXEC mode.