Users Guide

Supported
Releases
10.5.0 or later
errdisable detect cause bpduguard
Configures the port to be shut down or moves the port to blocked state on detecting a BPDU guard violation.
Syntax
errdisable detect cause bpduguard
Parameters None
Default Enabled
Command Mode CONFIGURATION
Usage
Information
This command applies only to STP-enabled ports. The command takes effect only when the BPDU guard
is configured on a port.
When the detect cause option is enabled, the port is shut down whenever there is a BPDU guard
violation.
When the option is disabled, the port is not shut down but moved to BLOCKING state whenever there is
a BPDU guard violation. In this case, the port is operationally DOWN in spanning-tree mode and when the
recovery timer expires after 300 seconds, the port is UP irrespective of the recovery cause configuration.
The no version of the command disables the detect cause option.
Example
OS10(config)# errdisable detect cause bpduguard
Supported
Releases
10.4.2.0 or later
errdisable recovery cause bpduguard
Enables to recover the ports shut down due to BPDU Guard violation.
Syntax
errdisable recovery cause bpduguard
Parameters None
Default Disabled
Command Mode CONFIGURATION
Usage
Information
This command applies only to STP-enabled ports. The command takes effect only when BPDU guard is
configured on a port and errdisable detect cause bpduguard is enabled.
When the recovery option is enabled, the port is brought up after the recovery timer expires.
When the recovery option is disabled, the port is shut down indefinitely. You must manually bring up the
port using the shutdown and no shutdown commands.
The no version of the command disables the recovery option.
Example
OS10(config)# errdisable recovery cause bpduguard
Supported
Releases
10.4.2.0 or later
errdisable recovery interval
Configures recovery interval timer to delay the recovery of ports when there is a BPDU Guard violation.
Syntax
errdisable recovery interval interval-value
Layer 2 603