57-38
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 57 Configuring Ethernet OAM and CFM
Enabling and Configuring Ethernet OAM
Use the no ethernet oam remote-loopback {supported | timeout} interface configuration command to
disable remote loopback support or remove the timeout setting.
This example shows how to enable OAM Remote Loopback:
Switch(config)# int gi1/3
Switch(config-if)# ethernet oam
Switch(config-if)# ethernet oam remote-loopback supported
Switch(config-if)# end
Switch# show running int gi1/1
Building configuration...
Current configuration : 209 bytes
!
interface GigabitEthernet1/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,19
switchport mode trunk
ethernet oam remote-loopback supported
ethernet oam
end
Switch# ethernet oam remote-loopback start int gi1/1
it is a intrusive loopback.
Therefore, while you test Ethernet OAM MAC connectivity,
you will be unable to pass traffic across that link.
Proceed with Remote Loopback? [confirm]
Switch# ethernet oam remote-loopback stop int gi1/1
Switch#
*Apr 9 12:52:39.793: %ETHERNET_OAM-6-LOOPBACK: Interface Gi1/1 has exited the master
loopback mode.
Configuring Ethernet OAM Link Monitoring
You can configure high and low thresholds for link-monitoring features. If no high threshold is
configured, the default is none; no high threshold is set. If you do not set a low threshold, the default is
a value lower than the high threshold.
Link event PDUs for rxcrc and trxcrc errors are not generated because they are nonstandard.
Step 3 Switch(config-if)# ethernet oam
remote-loopback {supported | timeout seconds} Enables Ethernet remote loopback on the interface or set a
loopback timeout period.
Enter supported to enable remote loopback.
Enter timeout seconds to set a remote loopback
timeout period. The range is from 1 to 10 seconds.
Step 4 Switch(config-if)# ethernet oam
remote-loopback {start | stop} {interface
interface-id}
Turns on or turn off Ethernet OAM remote loopback on an
interface.
Step 5 Switch(config-if)# end Returns to privileged EXEC mode.
Step 6 Switch# show ethernet oam status [interface
interface-id]Verifies the configuration.
Step 7 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose