Configuration Guide User guide
FastIron Configuration Guide 1093
53-1002494-02
Standard STP parameter configuration
In some instances, it is unnecessary for a connected device, such as an end station, to initiate or
participate in an STP topology change. In this case, you can enable the STP Protection feature on
the Brocade port to which the end station is connected. STP Protection disables the connected
device ability to initiate or participate in an STP topology change, by dropping all BPDUs received
from the connected device.
Enabling STP protection
You can enable STP Protection on a per-port basis.
To prevent an end station from initiating or participating in STP topology changes, enter the
following command at the Interface level of the CLI.
Brocade#(config) interface e 2
Brocade#(config-if-e1000-2)#stp-protect
This command causes the port to drop STP BPDUs sent from the device on the other end of the
link.
Syntax: [no] stp-protect
Enter the no form of the command to disable STP protection on the port.
Clearing BPDU drop counters
For each port that has STP Protection enabled, the Brocade device counts and records the number
of dropped BPDUs. You can use CLI commands to clear the BPDU drop counters for all ports on the
device, or for a specific port on the device.
To clear the BPDU drop counters for all ports on the device that have STP Protection enabled, enter
the following command at the Global CONFIG level of the CLI.
Brocade(config)#clear stp-protect-statistics
To clear the BPDU drop counter for a specific port that has STP Protection enabled, enter the
following command at the Global CONFIG level of the CLI.
Brocade#clear stp-protect-statistics e 2
Syntax: clear stp-protect-statistics [ethernet [<port>] | [ethernet [<port>]
Specify the port variable in one of the following formats:
• FWS, FCX, and ICX stackable switches – stack-unit/slotnum/portnum
• FSX 800 and FSX 1600 chassis devices – slotnum/portnum
• ICX devices – slotnum/portnum
• FESX compact switches – portnum
Viewing the STP Protection Configuration
You can view the STP Protection configuration for all ports on a device, or for a specific port only.
The show stp-protect command output shows the port number on which STP Protection is enabled,
and the number of BPDUs dropped by each port.
To view the STP Protection configuration for all ports on the device, enter the following command at
any level of the CLI.