all – Entering this command will set all ports on the system.
critical_link_event [critical_event | dying_gasp] – Specifies the
critical link event is critical event or dying GASP.
notify_state [enable | disable] – Specifies to enable or disable the
event notification. The default state is enabled.
The show ethernet_oam ports status command is used to show
primary controls and status information for Ethernet OAM on
specified ports.
The information includes:
(1) OAM administration status: enabled or disabled
(2) OAM operation status. See below values:
Disable: OAM is disabled on this port
LinkFault: The link has detected a fault and is transmitting
OAMPDUs with a link fault indication.
PassiveWait: The port is passive and is waiting to see if the peer
device is OAM capable.
ActiveSendLocal: The port is active and is sending local
information
SendLocalAndRemote: The local port has discovered the peer but
has not yet accepted or rejected the configuration of the peer.
SendLocalAndRemoteOk: The local device agrees the OAM peer
entity.
PeeringLocallyRejected: The local OAM entity rejects the remote
peer OAM entity.
PeeringRemotelyRejected: The remote OAM entity rejects the
local device.
Operational: The local OAM entity learns that both it and the remote
OAM entity have accepted the peering.
NonOperHalfDuplex: Since Ethernet OAM functions are not
designed to work completely over half-duplex ports. This value
indicates Ethernet OAM is enabled but the port is in half-duplex
operation.
(3) OAM mode: passive or active
(4) Maximum OAMPDU size: The largest OAMPDU that the OAM
entity supports. OAM entities exchange maximum OAMPDU sizes
and negotiate to use the smaller of the two maximum OAMPDU