beautypg.com

Enabling designated protection on a port, Error disable recovery, Enabling an error-disabled port automatically – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual

Page 328: Enabling an error-disabled

background image

NOTE
You cannot enable Designated Protection and Root Guard on the same port.

Enabling Designated Protection on a port

To disallow the designated forwarding state on a port in STP (802.1d or 802.1w), run the spanning-
tree designated-protect
command in interface configuration mode for that port.

The following example shows that the designated forwarding state is disallowed
on Ethernet interface 1/1/1.

Brocade(config)# ethernet interface 1/1/1

Brocade(config-if-e1000-1/1/1)# spanning-tree designated-protect

Syslog message for a port in designated inconsistent state

The following syslog message is generated when a port is put in the designated inconsistent state.

5d19h00m12s:I:STP: VLAN 100 Designated-protect port 2/1/7, inconsistent, Put into

Listening state

Error disable recovery

If a BPDU Guard violation or loop detection violation occurs, or the number of inError packets exceeds
the configured threshold, a port is placed into an error-disabled state, which is functionally equivalent
to a disable state. Once in an error-disabled state, the port remains in that state until it is enabled
either automatically or manually.

Enabling an error-disabled port automatically

To enable a port to recover automatically from the error-disabled state after the expiry of a configured
error recovery timer, run the errdisable recovery cause command in global configuration mode.

For example, to enable error-disable recovery for BPDU guard, enter the following command:

Brocade(config)# errdisable recovery cause bpduguard

Syntax: errdisable recovery cause [ bpduguard | loop-detection | packet-inerror-detect | all ]

Thebpduguard parameter allows the port to recover from the error-disabled state, if the state was
caused by a BPDU guard violation.

The all parameter allows ports to recover from an error-disabled state caused by any reason, for
example, a BPDU guard violation, the number of inError packets exceeding the configured threshold,
or a loop-detection violation.

Enabling Designated Protection on a port

328

FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide

53-1003086-04