User Manual

Table Of Contents
Operation mode Description
shutdown Shuts down the port
[Initial value]
port-security violation discard
[Input mode]
interface mode
[Description]
Sets the action to be taken during a port security violation for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
When restoring ports in shutdown mode that have been shut down, use the no shutdown command.
This command can be specified only for both LAN/SFP+ port and logical interface.
[Example]
Change the operation used for a violation on LAN port #1 to "port shutdown."
SWP2(config)#interface port1.1
SWP2(config-if)#port-security violation shutdown
5.4.4 Show port security information
[Syntax]
show port-security status
[Input mode]
priviledged EXEC mode
[Description]
Shows the port security information.
[Example]
Show the port security information.
SWP2#show port-security status
Port Security Action Status Last violation
-------- --------- --------- --------- -----------------
port1.1 Enabled Discard Blocking 00a0.de00.0003
port1.2 Disabled Discard Normal
port1.3 Disabled Discard Normal
port1.4 Disabled Discard Normal
port1.5 Disabled Discard Normal
port1.6 Disabled Discard Normal
port1.7 Disabled Discard Normal
port1.8 Disabled Discard Normal
port1.9 Disabled Discard Normal
port1.10 Disabled Discard Normal
5.5 Error detection function
5.5.1 Set automatic recovery from errdisable state
[Syntax]
errdisable auto-recovery function [interval interval]
no errdisable auto-recovery function
[Keyword]
interval : Automatic recovery time setting
[Parameter]
function : Functions that can be the cause of errdisable
156 | Command Reference | Interface control