Chapter 48 Interface Commands

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 <activepassive> 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

ethernet oam

= Enables Ethernet OAM on the specified port.

mode <activepassive>

= 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

= Enables the remote loopback feature on the port(s).

supported

 

remote-loopback test

= Initiates a remote-loopback test from the specified port(s).

<port-list>

 

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-

= Displays the count of sent and received OAMPDUs from/to

list>

the specified port(s).

summary

= Displays the status of all the enabled Ethernet OAM ports on

 

the Switch.

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.

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

The next few examples show how to use the Ethernet OAM features.

• Perform Ethernet OAM discovery from port 7.

404

 

ES-4124 User’s Guide