[Example]
Show the port security information.
SWR2311P#show port-security status
port Security Action 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 300 (Loop detection function)
[Input mode]
global configuration mode
[Description]
Enables the function that automatically recovers after the error detection function causes the errdisable state, and specifies the
time until automatic recovery.
If interval is omitted, 300 seconds is specified.
this is executed with the "no" syntax, the automatic recovery function is disabled.
[Note]
For a LAN/SFP port that was put in the errdisable state by the BPDU guard function before this command was executed, the
change in the setting is applied the next time BPDU is detected.
[Example]
Enable automatic recovery after BPDU guard has caused the errdisable state, and set the recovery time to 600 seconds.
SWR2311P(config)#errdisable auto-recovery bpduguard interval 600
Disable automatic recovery after loop detection has caused the errdisable state.
SWR2311P(config)#no errdisable auto-recovery loop-detect
152
| Command Reference | Interface control