Stp protection enhancement, Enabling stp protection, Clearing bpdu drop counters – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 550

Advertising
background image

516

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Configuring standard STP parameters

STP protection enhancement

STP protection provides the ability to prohibit an end station from initiating or participating in an
STP topology change.

The 802.1W Spanning Tree Protocol (STP) detects and eliminates logical loops in a redundant
network by selectively blocking some data paths (ports) and allowing only the best data paths to
forward traffic.

In an STP environment, switches, end stations, and other Layer 2 devices use Bridge Protocol Data
Units (BPDUs) to exchange information that STP will use to determine the best path for data flow.
When a Layer 2 device is powered ON and connected to the network, or when a Layer 2 device goes
down, it sends out an STP BPDU, triggering an STP topology change.

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 device 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.

TurboIron#(config) interface e 2

TurboIron#(config-if-e10000-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

The <portnum >parameter is a valid port number.

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 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.

TurboIron(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.

TurboIron#clear stp-protect-statistics e 2

Syntax: clear stp-protect-statistics [ethernet <portnum>]

The <portnum> parameter is a valid port number.

Viewing the STP Protection Configuration

Advertising