User Manual

Table Of Contents
[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."
SWR2310(config)#interface port1.1
SWR2310(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.
SWR2310#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
Setting value Description
bpduguard BPDU guard function
loop-detect Loop detection function
interval : <10-1000000>
Time (seconds) until auto-recovery
[Initial value]
no errdisable auto-recovery bpduguard (BPDU guard function)
errdisable auto-recovery loop-detect interval 300 (Loop detection function)
Command Reference | Interface control | 191