xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
462
config ethernet_oam ports state
Purpose
Used to enable or disable Ethernet OAM.
Syntax config ethernet_oam ports [<portlist> | all] state [enable | disable]
Description
This command used to enable or disable the port’s Ethernet OAM function. Enabling a port’s
OAM will cause the port to start OAM discovery. If a port is active, it initiates the discovery
otherwise it reacts only to the discovery received from its peer.
Disabling a port’s OAM will cause the port to send out a dying gasp event to the peer and
then disconnect the established OAM link.
Parameters portlist – Specifies a range of ports to be configured. Use all to specify all ports.
state – Specifies to enable or disable the OAM function. The default state is disable.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable Ethernet OAM on port 1:
config ethernet_oam ports link_monitor error_symbol
Purpose
Used to configure Ethernet OAM link monitoring error symbols.
Syntax config ethernet_oam ports [<portlist> | all ] link_monitor error_symbol{ threshold
<range 0 - 4294967295> | window <millisecond 1000-60000> | notify_state [enable |
disable]}(1)
Description
This command is used to configure ports Ethernet OAM link monitoring error symbols. 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.
Parameters portlist – Specifies a range of ports to be configured. Use all to specify all ports.
threshold – Specifies the number of symbol errors in the period that is required to be equal to
or greater than in order for the event to be generated. The range is from 0 to 4294967295.
The default value of threshold is 1 symbol error.
window – The range is 1000 to 60000 ms. The default value is 1000ms.
notify_state – Specifies to enable or disable the event notification. The default state is
enable.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the error symbol threshold to 2 and period to 1000ms for port 1: