Configuring Ethernet Ports Link Monitoring
OmniSwitch AOS Release 7 Network Configuration Guide June 2013 page 1-13
Monitoring Window
The Link Monitoring window is a per-port configurable timer that is started whenever link-monitoring is
enabled on a port. During this time frame interface receive errors and interface flaps are counted. If either
of the values exceeds the configured thresholds the interface is shut down.
• The timer value can be modified even when the Link Monitoring timer is running and the new value of
timer will take effect after the current running timer expires.
• The threshold values for link errors and link flaps can also be modified when link-monitoring timer is
running; if the new threshold value is less than the current link-flap or link-error counter value, then the
interface will be shutdown immediately.
The interfaces link-monitoring time-window command is used to configure the monitoring window
timer. For example:
-> interfaces 1/1 link-monitoring time-window 500
In this example, link monitoring will monitor port 1/1 for 500 seconds.
Starting a Link Monitoring Session
The Link Monitoring window timer is started when the feature is enabled on an interface using the
interfaces link-monitoring admin-status command. For example:
-> interfaces 1/1 link-monitoring admin-status enable
All the statistics (link errors and link flaps) for a port are reset to zero when Link Monitoring is enabled on
that port.
Stopping a Link Monitoring Session
The Link Monitoring window timer is stopped when one of the following occurs:
• The interfaces link-monitoring admin-status command is used to disable the feature on the port. For
example:
-> interfaces 1/1 link-monitoring admin-status enable
• The port is shutdown by any feature, such as Link Monitoring, UDLD, or Link Fault Propagation.
• The port is permanently shut down by an interfaces violation recovery mechanism. Refer to “Inter-
faces Violation Recovery” on page 1-30 for more information.
Configuring the Wait-to-Restore Timer
The wait-to-restore (WTR) timer is used to implement a delay before an interface is made operational for
other features. Only after the timer has expired will the interface become active allowing network proto-
cols to converge more gracefully. The timer value is configured on a per-port basis and is started when-
ever one of the following link-up events occurs:
• An interface is administratively downed followed by administratively up.
• The clear violation command is used.
• An interface recovers from a violation due to the automatic recovery timer mechanism.
• An interface is made operationally up when the cable is plugged in.