32-37
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 32 Configuring Ethernet OAM, CFM, and E-LMI
Ethernet CFM and Ethernet OAM Interaction
Switch#
config t
Switch(config)#
interface gigabitethernet0/1
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 gigabitethernet0/5
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
Switch(config-if)#
ethernet uni id 2004-20
Switch(config-if)#
ethernet oam remote-loopback supported
Switch(config-if)#
ethernet oam
Switch(config-if-srv)#
exit
Provider-edge switch 2 (PE2) configuration:
Switch#
config t
Switch(config)#
interface gigabitethernet1/20
Switch(config-if)#
switchport mode trunk
Switch(config-if)#
ethernet cfm mip level 7
Switch(config-if)#
ethernet cfm mep level 4 mpid 101 vlan 10
Switch(config-if)#
ethernet uni id 2004-20
Switch(config-if)#
ethernet oam remote-loopback supported
Switch(config-if)#
ethernet oam
Switch(config-if-srv)#
exit
Customer-edge switch 2 (CE2) configuration:
Switch#
config t
Switch(config)#
interface gigabitethernet0/1
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
These are examples of the output showing provider-edge switch port status of the configuration. Port
status shows as UP at both switches.
Switch PE1:
Switch#
show ethernet cfm maintenance points remote
MPID Level Mac Address Vlan PortState InGressPort Age(sec) Service ID
101 * 4 0015.633f.6900 10 UP
Gi0/1 27 blue
Switch PE2:
Switch#
show ethernet cfm maintenance points remote
MPID Level Mac Address Vlan PortState InGressPort Age(sec) Service ID
100 * 4 0012.00a3.3780 10 UP
Gi0/1 8 blue
Total Remote MEPs: 1
This example shows the outputs when you start remote loopback on CE1 (or PE1). The port state on the
remote PE switch shows as Test and the remote CE switch goes into error-disable mode.
Switch#
ethernet oam remote-loopback start interface gigabitEthernet 0/1
This is a intrusive loopback.
Therefore, while you test Ethernet OAM MAC connectivity,