Clearing bpdu drop counters, Viewing the stp protection configuration, Displaying stp information – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 258

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.
device(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.
device#clear stp-protect-statistics e 2
Syntax: clear stp-protect-statistics [ethernet port]
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.
device#show stp-protect
Port ID BPDU Drop Count
3 478
5 213
6 0
12 31
To view STP Protection configuration for a specific port, enter the following command at any level of
the CLI.
device#show stp-protect e 3
STP-protect is enabled on port 3. BPDU drop count is 478
If you enter the show stp-protect command for a port that does not have STP protection enabled, the
following message displays on the console.
device#show stp-protect e 4
STP-protect is not enabled on port 4.
Syntax: show stp-protect [ethernet port]
Displaying STP information
You can display the following Spanning Tree Protocol (STP) information:
• All the global and interface STP settings
• CPU utilization statistics
• Detailed STP information for each interface
• STP state information for a port-based VLAN
• STP state information for an individual interface
Clearing BPDU drop counters
258
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
53-1003086-04