XG1200 User's Guide
108/258
All Rights Reserved, Copyright (C) PFU LIMITED 2005
5.8.3 clear violation
Function
When violation due to port security, loop back alert, and storm control is detected, an error log that caused the violation is
output only once, and the target port will be in violation state. This violation state can be checked with "Link Status Detail" of the
"show interface" command.
By using this command, the violation state of the port will be cleared.
If the violation state occurs, execute this command after eliminating the cause of the violation. If the cause of the violation is not
fully eliminated, the violation state will recur.
Prompt
xg#
Command syntax
clear violation { all | port <1-12> | agg-port <1-6> }
Parameter
all
Clears violation state of all ports.
port <1-12>
Specifies the port, in which violation state is cleared.
agg-port <1-6>
Specifies the aggregation group number, in which violation state is cleared.
Command type
Operation management commands
Example
Clear the violation state of all ports.
xg# clear violation all