User Manual

Table Of Contents
[Parameter]
action : Operation used for port security violations
Operation mode Description
discard Discards packets
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."
SWX3220(config)#interface port1.1
SWX3220(config-if)#port-security violation shutdown
5.4.4 Show port security information
[Syntax]
show port-security status
[Input mode]
privileged EXEC mode
[Description]
Shows the port security information.
[Example]
Show the port security information.
SWX3220#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
Command Reference | Interface control | 205