Configuration Guide User guide

FastIron Configuration Guide 1167
53-1002494-02
Error disable recovery
Displaying the root guard by VLAN
You can display root guard information for all VLANs or for a specific VLAN. For example, to display
root guard violation information for VLAN 7.
Syntax: show spanning-tree [<vlan-id>]
If you do not specify a <vlan-id>, information for all VLANs is displayed. For example, to display root
guard violation information for VLAN 7.
Brocade#show spanning-tree vlan 7
STP instance owned by VLAN 7
Global STP (IEEE 802.1D) Parameters:
VLAN Root Root Root Prio Max He- Ho- Fwd Last Chg Bridge
ID ID Cost Port rity Age llo ld dly Chang cnt Address
Hex sec sec sec sec sec
7 a000000011112220 0 Root a000 20 2 1 15 4 4 000011112220
Port STP Parameters:
Port Prio Path State Fwd Design Designated Designated
Num rity Cost Trans Cost Root Bridge
Hex
1 80 19 ROOT-INCONS 2 0 a000000011112220 a000000011112220
Error disable recovery
In case a BPDU guard violation occurs, a port is placed into an errdisable state which is functionally
equivalent to a Disable state. Once in an errdiable state, it remains in that state until one of the
following methods is used to return the port to an Enabled state.
1. Manually disabling and enabling that interface
2. Automatically, through the errdisable recovery mechanism
The errdisable recovery interval command is used to configure a time-out for ports in errdisable
state, after which the ports are re-enabled automatically.
When BPDU guard puts a port into errdisabled state, the port remains in errdisabled state unless it
is enabled manually by issuing a disable command and then the enable command on the
associated interface or you have errdisable recovery turned on. The errdisable command allows
you to choose the type of error that automatically reenables the port after a specified amount of
time.
Enabling error disable recovery
To enable errdisable recovery for BPDU Guard, enter a command such as the following.
Brocade(config)#errdisable recovery cause bpduguard
To enable error disable recovery for any reason, enter a command such as the following.
Brocade(config)#errdisable recovery cause all
Syntax: errdisable recovery [cause bpduguard l all]
The cause is the reason why the port is in the errdisable state. Valid values are bpduguard and all.
Use the bpduguard parameter to allow the port to recover from the errdisabled state, if the state
was caused by a BPDU guard violation.