Configuring Ethernet Ports Interfaces Violation Recovery
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 1-17
Configuring Interface Violation Recovery
The following sections provide information about how to configure parameter values that apply to the 
interfaces violation recovery mechanisms.
Configuring the Violation Recovery Time
The violation recovery time specifies the amount of time the switch waits before automatically recovering 
a port that was shut down due to a violation. When the recovery timer expires, the interface is 
operationally re-enabled and the violation on the interface is cleared. 
Consider the following when configuring the violation recover time:
• The timer value does not apply to interfaces that are in a permanent shutdown state. A port in this state 
is only recoverable using the interfaces split-mode command.
• The interface violation recovery mechanism is not supported on link aggregates, but is supported on 
the link aggregate member ports.
The violation recovery-time command is used to configure the automatic recovery time value, which is 
configurable on a per-port or global basis. For example, the following commands set the violation 
recovery time to 600 seconds at the global level and to 200 seconds for port 2/1 on chassis 1:
-> violation recovery-time 600
-> violation 1/2/1 recovery-time 200
The violation recovery time value configured for a specific interface overrides the global value configured 
for all switch interfaces. To set the port-level value back to the global value, use the default parameter 
with the violation recovery-time command. For example, the following command sets the violation 
recovery time for port 2/1 on chassis 1 back to the global value of 600:
-> violation 1/2/1 recovery-time default
To disable the violation recovery timer mechanism, set the recovery time to zero. For example:
-> violation recovery-time 0
-> violation 1/2/1 recovery-time 0
Configuring the Violation Recovery Maximum Attempts
The violation recovery maximum setting specifies the maximum number of recovery attempts allowed 
before a port is permanently shut down. This value increments by one whenever an interface recovers 
from a violation using the automatic recovery timer mechanism. When the number of recovery attempts 
exceeds this configured threshold, the interface is permanently shut down. The only way to recover a 
permanently shut down interface is to use the interfaces split-mode command.
The recovery mechanism tracks the number of recoveries within a fixed time window (FTW). The FTW = 
2 * maximum recovery number * recovery timer. For example, if the maximum number of recovery 
attempts is set to 4 and the recovery timer is set to 5, the FTW is 40 seconds (2 * 4 * 5=40).
The show interfaces command is used to configure the maximum number of recovery attempts. This 
value is configurable on a per-port or global basis. For example, the following commands set the number 
of attempts to 3 at the global level and to 5 for port 2/1on chassis 1:
-> violation recovery-maximum 3 
-> violation 1/2/1 recovery-maximum 5