Port States; Bridge Protocol Data Units; Bridge Protocol Data Units Overview; Determining The Path For Forwarding Bpdus - IBM RackSwitch G8000 Application Manual

A top-of-rack (tor) switch
Hide thumbs Also See for RackSwitch G8000:
Table of Contents

Advertisement

Port States

Bridge Protocol Data Units

Bridge Protocol Data Units Overview

Determining the Path for Forwarding BPDUs

© Copyright IBM Corp. 2011
The port state controls the forwarding and learning processes of Spanning Tree. In
PVRST, the port state has been consolidated to the following: discarding,
learning, and forwarding.
Due to the sequence involved in these STP states, considerable delays may occur
while paths are being resolved. To mitigate delays, ports defined as edge ports
("Port Type and Link Type" on page
learning states, and enter directly into the forwarding state.
To create a Spanning Tree, the switch generates a configuration Bridge Protocol
Data Unit (BPDU), which it then forwards out of its ports. All switches in the Layer 2
network participating in the Spanning Tree gather information about other switches
in the network through an exchange of BPDUs.
A bridge sends BPDU packets at a configurable regular interval (2 seconds by
default). The BPDU is used to establish a path, much like a hello packet in IP
routing. BPDUs contain information about the transmitting bridge and its ports,
including bridge MAC addresses, bridge priority, port priority, and path cost. If the
ports are tagged, each port sends out a special BPDU containing the tagged
information.
The generic action of a switch on receiving a BPDU is to compare the received
BPDU to its own BPDU that it will transmit. If the received BPDU is better than its
own BPDU, it will replace its BPDU with the received BPDU. Then, the switch adds
its own bridge ID number and increments the path cost of the BPDU. The switch
uses this information to block any necessary ports.
Note: If STP is globally disabled, BPDUs from external devices will transit the
switch transparently. If STP is globally enabled, for ports where STP is
turned off, inbound BPDUs will instead be discarded.
When determining which port to use for forwarding and which port to block, the
G8000 uses information in the BPDU, including each bridge ID. A technique based
on the "lowest root cost" is then computed to determine the most efficient path for
forwarding.
Bridge Priority
The bridge priority parameter controls which bridge on the network is the STG root
bridge. To make one switch become the root bridge, configure the bridge priority
lower than all other switches and bridges on your network. The lower the value, the
higher the bridge priority. Use the following command to configure the bridge
priority:
RS G8000(config)# spanning-tree stp
129) may bypass the discarding and
<x>
bridge priority <0-65535>
Chapter 10. Spanning Tree Protocols
117

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents