Cisco Systems ME 3400 Switch User Manual


  Open as PDF
of 1086
 
39-34
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 39 Configuring Ethernet OAM, CFM, and E-LMI
Ethernet CFM and Ethernet OAM Interaction
Enabling Ethernet OAM
Beginning in privileged EXEC mode, follow these steps to enable Ethernet OAM on an interface.
Ethernet OAM and CFM Configuration Example
These are example configurations of the interworking between Ethernet OAM and CFM in a sample
service provider network with a provider-edge switch connected to a customer edge switch at each
endpoint. You must configure CFM, E-LMI, and Ethernet OAM between the customer edge and the
provider edge switch.
Customer-edge switch 1 (CE1) configuration:
Switch# config t
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# port-type nni
Switch(config-if)# switchport trunk allowed vlan 10
Switch(config-if)# switchport mode trunk
Switch(config-if)# ethernet oam remote-loopback supported
Switch(config-if)# ethernet oam
Switch(config-if)# exit
Provider-edge switch 1 (PE1) configuration:
Switch# config t
Switch(config)# interface fastethernet1/0/20
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# ethernet cfm mip level 7
Switch(config-if)# ethernet cfm mep level 4 mpid 100 vlan 10
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Define an interface to configure as an Ethernet OAM
interface and enter interface configuration mode.
Step 3
ethernet oam [max-rate oampdus | min-rate
seconds | mode {active | passive} | timeout seconds]
Enable Ethernet OAM on the interface
(Optional) Enter max-rate oampdus to set the
maximum rate (per second) to send OAM PDUs. The
range is 1 to 10 PDUs per second; the default is 10.
(Optional) Enter min-rate seconds to set the minimum
rate in seconds.The range is 1 to 10 seconds.
(Optional) Set the OAM client mode as active or
passive. The default is active.
(Optional) Enter timeout seconds to set the time after
which a device declares the OAM peer to be
nonoperational and resets its state machine. The range
is 2 to 30 seconds; the default is 5 seconds.
Step 4
end Return to privileged EXEC mode.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Step 6
show ethernet cfm maintenance points remote (Optional) Display the port states as reported by Ethernet
OAM.