DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 539
config ethernet_oam ports link_monitor error_frame_seconds
Link monitoring function provides a mechanism to detect and indicate link faults
under a variety of conditions. OAM monitors the counter on the number of frame
errors as well as the number of coding symbol errors. When the number of error
frame seconds are equal to or greater than the specified threshold in a period and
the event notification state is enabled, it generates an error frame second summary
event to notify the remote OAM.
Parameters
portlist
– Specifies a range of ports to be configured. Use
all
to specify all ports.
threshold
– Specifies the number of error frame seconds in the period that are required
to be equal to or greater than in order for the event to be generated. The range is
from 1 to 900. The default value of threshold is 1 error frame second.
window
– Specifies the period of error frame seconds summary event. The range is
10000ms-900000ms and the default value is 60000 ms.
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 frame seconds threshold to 2 and period to 10000 ms for port 1:
DES-3528:5#config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2
window 10000 notify_state enable
Command: config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2
window 10000 notify_state enable
Success.
DES-3528:5#
config ethernet_oam ports critical_link_event
Purpose
Used to configure Ethernet OAM critical link event.
Syntax
config ethernet_oam ports [<portlist> | all ] critical_link_event [ dying_gasp |
critical_event ] notify_state [enable | disable]
Description
This command is used to configure the capability of Ethernet OAM critical link event.
If the capability for an event is disabled, the port will never send out the
corresponding critical link event.
Parameters
portlist
– Specifies a range of ports to be configured. Use
all
to specify all ports.
dying_gasp
– An unrecoverable local failure condition has occurred.
critical_event
– An unspecified critical event has occurred.
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 dying_gasp event for port 1: