Chapter 16 Ethernet OAM Commands
Ethernet Switch CLI Reference Guide
72
16.3  Command Examples
This example enables Ethernet OAM on port 7 and sets the mode to active.
This example performs Ethernet OAM discovery from port 7.
ethernet oam mode 
<active|passive>
Specifies the OAM mode on the ports.
active: Allows the port to issue and respond to Ethernet 
OAM commands.
passive: Allows the port to respond to Ethernet OAM 
commands.
C13
ethernet oam remote-loopback 
supported
Enables the remote loopback feature on the ports. C 13
no ethernet oam remote-
loopback supported
Disables the remote loopback feature on the ports. C 13
no ethernet oam mode Resets the OAM mode to the default value. C 13
Table 45   ethernet oam Command Summary (continued)
COMMAND DESCRIPTION M P
sysname# configure
sysname(config)# ethernet oam
sysname(config)# interface port-channel 7
sysname(config-interface)# ethernet oam
sysname(config-interface)# ethernet oam mode active
sysname(config-interface)# exit
sysname(config)# exit
sysname# show ethernet oam discovery 7
Port 7
Local client
------------
  OAM configurations:
    Mode              : Active
    Unidirectional    : Not supported
    Remote loopback   : Not supported
    Link events       : Not supported
    Variable retrieval: Not supported
    Max. OAMPDU size  : 1518
  Operational status:
    Link status       : Down
    Info. revision    : 3
    Parser state      : Forward
    Discovery state   : Active Send Local