xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Manual
47
1
config ethernet_oam ports (state)
Used to ena
ble or disable Ethernet OAM per port.
Purpose
config eth
ernet_oam ports [<portlist> | all ] state [ enable | disable ]
Syntax
The co
mmand is used to enable or disable Ethernet OAM function on a per port basis.
Description
Enabling OAM initiates OAM discovery on a port. When OAM is enabled on a port in active
mode, that port will initiate discovery; if the port is not OAM enabled, the port will not participate
in the discovery process.
If the OAM status of an enabled port changes to disabled, the port sends a dying gasp notice to
a peer(s) before disconnecting the OAM link.
<po
rtlist> - Specifies a range of ports to be configured. Use all to specify all ports.
Parameters
state - Specify to enable or disable the OAM function for the listed ports. The default state is
disabled.
Only Administrator-level users
can issue this command.
Restrictions
Example usage
To enable Ethernet OAM on port 1:
DES-3200-28F:4# config ethernet_oam ports 1 state enable
Commands: config ethernet_oam ports 1 state enable
Success
DES-3200-28F:4#
config ethernet_oam ports (link monitor error symbol)
Used to co
nfigure Ethernet OAM link monitoring symbol error configuration for ports.
Purpose
config eth
ernet_oam ports [<portlist> | all ] link_monitor error_symbol { threshold <number> |
window < milliseconds 1000-60000> | notify_state [enable | disable ] } (1)
Syntax
The co
mmand is used to configure Ethernet OAM link monitoring symbol error for ports.
Description
The link monitoring function provides a mechanism to detect and indicate link faults under a
variety of conditions. OAM monitors the statistics on the number of frame errors as well as the
number of coding symbol errors. When the number of symbol errors is equal to or greater than
the specified threshold in a period and the event notification state is enabled, it generates an
error symbol period event to notify the remote OAM peer.
<po
rtlist> - Specifies a range of ports to be configured. Use all to specify all ports.
Parameters
threshold - Specify the number of symbol errors in the period that must be equal to or greater
than in order for the event to be generated. The default value of the threshold is 1 symbol error.
window - The range is 1000 to 60000 ms. The default value is 1000ms.
notify_state - Specify to enable or disable event notification. The default state is enable.
Only Administrator-level users
can issue this command.
Restrictions
Example usage:
To configure the error symbol threshold to 2 and period to 1000ms for port 1: