![background image](http://html1.mh-extra.com/html/foundry-networks/fastiron-edge-switch-x424/fastiron-edge-switch-x424_manual_2324269101.webp)
Configuring Spanning Tree Protocol (STP) and IronSpan Features
December 2005
© Foundry Networks, Inc.
7 - 7
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:
FESX424 Switch#(config) interface e 2
FESX424 Switch#(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 Foundry 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:
FESX424 Switch(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:
FESX424 Switch(config)# clear stp-protect-statistics e 2
Syntax:
clear stp-protect-statistics [ethernet [<slotnum>/]<port-num>] | [ethernet [<slotnum>/]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:
To view STP Protection configuration for a specific port, enter the following command at any level of the CLI:
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:
Syntax:
show stp-protect [ethernet [<slotnum>/]<portnum>]
FESX424 Switch# show stp-protect
Port ID BPDU Drop Count
3 478
5 213
6 0
12 31
FESX424 Switch# show stp-protect e 3
STP-protect is enabled on port 3. BPDU drop count is 478
FESX424 Switch# show stp-protect e 4
STP-protect is not enabled on port 4.
Summary of Contents for FastIron Edge Switch X424
Page 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Page 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Page 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Page 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Page 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Page 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Page 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Page 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Page 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Page 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Page 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...