XG2000 series User's Guide
146/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.10.3 shutdown (Administrator exec mode)
Function
Shuts down the port of a switch from the administrator exec mode, and turns off the optical signal at the XFP.
Use the no form to enable the port again.
Prompt
xg#
Command syntax
shutdown port <1-20> [ <1-20> ]
no shutdown port <1-20> [ <1-20> ]
Parameter
z port <1-20> [ <1-20> ]
Specifies the port number to shut down or enable.
When specifying multiple port numbers, list them separated with " " (space).
Command type
Operation management commands
Example
Shut down switch ports 3 and 4. Then, make them usable again.
xg# shutdown port 3 4
xg# no shutdown port 3 4
5.10.4 clear violation
Function
When a violation due to port security, loop back alert, and broadcast storm control is detected, an error log entry for the
violation is output only once, and the target port will be set to a violation state. Violations can be checked with the "Link Status
Detail" displayed by the "show interface" command.
By using this command, the violation state of the port will be cleared.
If a 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-20> | agg-port <1-10> }
Parameter
z all
Clears the violation state of all ports.
z port <1-20>
Specifies the port to be cleared.
z agg-port <1-10>
Specifies the aggregation group number to be cleared.
Command type
Operation management commands
Example
Clear the violation state of all ports.
xg# clear violation all