D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
452
config ethernet_oam ports (state)
Purpose
Used to enable or disable Ethernet OAM per port.
Syntax
config ethernet_oam ports [<portlist> | all ] state [ enable | disable ]
Description
The command is used to enable or disable Ethernet OAM function on a per port basis.
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.
Parameters
<portlist> - Specifies a range of ports to be configured. Use all to specify all ports.
state - Specify to enable or disable the OAM function for the listed ports. The default state is
disabled.
Restrictions
Only Administrator-level users can issue this command.
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)
Purpose
Used to configure Ethernet OAM link monitoring symbol error configuration for ports.
Syntax
config ethernet_oam ports [<portlist> | all ] link_monitor error_symbol { threshold <number> |
window < milliseconds 1000-60000> | notify_state [enable | disable ] } (1)
Description
The command is used to configure Ethernet OAM link monitoring symbol error for ports.
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 - 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.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the error symbol threshold to 2 and period to 1000ms for port 1: