run show ethernet-oam

The run show ethernet-oam command is used to view EFM OAM information and session status.

 

Command Syntax

run show ethernet-oam [interface <interface-name>]

 

Parameter

Parameter

Description

interface <interface-name>

Optional. Specifies an interface name that enabled EFM OAM. The value is a physical interface.

If not specified, EFM OAM information and session status of all the interfaces enabled EFM OAM will be displayed.

 

Example

  • View EFM OAM information and session status.

admin@PICOS# run show ethernet-oam interface ge-1/1/1 -------------------------------------------------- Interface ge-1/1/1 Local client Admin state: enable OAM Mode: passive OAM timeout: 30 seconds Loopback timeout: 3 seconds Loopback status: local loopback PDU revision: 3 OAM status: SEND_ANY PDU: ANY Remote client MAC address: 18:5a:58:5c:8c:21 OUI: 48:6e:73 PDU revision: 3 OAM Mode: active Unidirection: not supported Link monitor: not supported Remote loopback: not supported MIB retrieval: not supported Mtu size: 1500

The following table provides the description of the EFM OAM status information in the run show ethernet-oam command output.

Item

Description

Admin state

Whether the OAM function of an interface is enabled.

Loopback status

Indicates the status of remote loopback. The value could be no loopback, remote loopback or local loopback.

  • no loopback: Indicates that a remote loopback has not been established yet.

  • remote loopback: Indicates that a remote loopback has been established, and the device is the controlling end of the remote loopback, which starts EFM OAM remote loopback tests.

  • local loopback: Indicates that a remote loopback has been established, and the device is the controlled end of the remote loopback, which responds to the loopback control OAMPDUs from peers.

OAM status

Indicates the OAM status of an interface.

The values are as follows:

  • PASSIVE_WAIT: indicates that the interface is waiting for protocol packets from the peer interface.

  • ACTIVE_SEND_LOCAL: indicates that the interface is sending protocol packets but fails to negotiate the link status with the peer interface.

  • ACTIVE_SEND_REMOTE_OK: indicates that the peer interface supports OAM and the negotiation with the peer interface is about to succeed.

  • SEND_ANY: indicates that the interface successfully negotiates the link status with the peer interface.

  • FAULT: indicates that the interface is abnormal and fails to establish an OAM connection.   

PDU

The way in which the local end processes Ethernet OAMPDUs:

  • RX_INFO: The interface receives only Information OAMPDUs and does not send any Ethernet OAMPDUs.

  • LF_INFO: The interface sends only Information OAMPDUs without Information TLV triplets and with their link error flag bits being set.

  • INFO: The interface sends and receives only Information OAMPDUs.

  • ANY: The interface sends and receives Ethernet OAMPDUs of any type.

Copyright © 2024 Pica8 Inc. All Rights Reserved.