![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/3d/f3dc965a-e81e-4d60-b294-cfc084a8c375/f3dc965a-e81e-4d60-b294-cfc084a8c375-bg194.png)
Chapter 48 Interface Commands
ES-4124 User’s Guide
404
The Switch supports the following IEEE 802.3ah features:
• Discovery - this identifies the devices on each end of the Ethernet link and their OAM
configuration.
• Remote Loopback - this can initiate a loopback test between Ethernet devices.
Syntax:
ethernet oam
ethernet oam mode <active|passive>
ethernet oam remote-loopback supported
ethernet oam remote-loopback test <port-list>
show ethernet oam discovery <port-list>
show ethernet oam statistics <port-list>
show ethernet oam summary
where
A configuration example is shown next.
• Enable port 7 for configuration.
• Enable Ethernet OAM on the port and set the port to active mode.
• Enable remote loopback testing on the port.
The next few examples show how to use the Ethernet OAM features.
• Perform Ethernet OAM discovery from port 7.
ethernet oam
= Enables Ethernet OAM on the specified port.
mode <active|passive>
=Type active to enable initiating remote-loopback tests or
discovery commands from the port(s).
Type passive and you cannot initiate remote-loopback
tests or discovery commands from the port. The port can
only respond to requests from ports in active mode.
remote-loopback
supported
= Enables the remote loopback feature on the port(s).
remote-loopback test
<port-list>
= Initiates a remote-loopback test from the specified port(s).
discovery <port-list>
= Initiates a discovery request from the specified port(s). This
request returns the Ethernet OAM status of the specified port
and the remote port it is connected to.
statistics <port-
list>
= Displays the count of sent and received OAMPDUs from/to
the specified port(s).
summary
= Displays the status of all the enabled Ethernet OAM ports on
the Switch.
sysname(config)# interface port-channel 7
sysname(config-interface)# ethernet oam
sysname(config-interface)# ethernet oam mode active
sysname(config-interface)# ethernet oam remote-loopback supported