Configuring STP

For configuring PVRST+ on IS5Com ISS, refer to the following modules:

The following sections describe the configuration of the STP.

Figure 1. Spanning Tree Topology


Switch A:

MAC Address: 00:01:02:03:04:01

VLAN 1 - 10.0.0.1/255.0.0.0

Switch B:

MAC Address: 00:02:02:03:04:01

VLAN 1 – 10.0.0.2 /255.0.0.0

Switch C:

MAC Address: 00:03:02:03:04:01

VLAN 1 – 10.0.0.3/255.0.0.0

STP Description

A Bridge allows interconnection of end stations attached to separate LANs (Local Area Networks) and allows the stations to communicate as if they were attached to a single LAN. The Bridge operates below the Media Access Control (MAC) service boundary and is transparent to the protocols operating above this boundary.

In complex networks, a loop may occur when there are two or more paths between two end points. This leads to the duplication of frames, which in turn leads to heavy traffic in the network. To avoid this, STP is used in the PVRST+ software. STP forms a logical, loop-free topology from the physical topology and forwards the frames without duplication. To avoid prolonged stabilization time following a reconfiguration event in Spanning Tree algorithm, PVRST+ provides support for RSTP. The operation of RSTP enables rapid recovery of connectivity following the failure of a Bridge/ Bridge Port or a LAN.

To isolate link fluctuations only to a particular VLAN segment and also to provide Load balancing, IS5Com’s PVRST+ creates a separate Spanning tree for each VLAN. Spanning Tree to VLAN mapping will be configured on a Per VLAN basis.

PVRST+ protocol is an enhancement of RSTP, which works in conjunction with VLAN to provide better control over traffic in the network.

A switch takes the role of either a root or another type of designated switch.

STP assigns port roles to the port of switch as follows to calculate the best loop free path:

The following elements determine the stable and active spanning-tree topology of a switched network.

When switches in a network come up, each switch assumes itself to be the Root Bridge and starts sending configuration messages through all its ports. BPDUs (Bridge Protocol Data Units) are used to communicate and compute the spanning tree topology. These BPDUs contain the following information:

When a switch receives a superior configuration BPDU on a port, it stores the received information for that port. If the port is a root port, it forwards the updated message to all attached LANs for which this switch is the designated bridge.

If the switch receives an inferior configuration BPDU to that currently stored for that port, it discards the BPDU. If the switch is a designated switch for the LAN from which the inferior information was received, then the switch sends up-to-date information stored for that port, thus discarding inferior information and propagating superior information in the network. Each Layer 2 interface in the switch running PVRST+ is in one of the following states for each VLAN Running on the switch.

Bridge ID and Switch Priority

Each switch has a unique bridge identifier (bridge ID) that determines the selection of the Root Switch. The bridge ID is an 8-byte field that is composed of two subfields as shown in the figure below.

Figure 2. Bridge ID for Each VLAN



Election of Root Switch

All switches in a Layer 2 network, participating in STP, gather information on other switches in the network through an exchange of data messages called Bridge Protocol Data Units (BPDUs). The exchange of messages results in the following actions:

The switch with the highest switch priority (the lowest numerical priority value) is elected as the Root Switch. If all switches are configured with the default priority (32768) for VLAN with ID 1 (i.e. Bridge Priority of 32769), the switch with the lowest MAC address becomes the Root Switch. The switch priority value occupies the most significant bits of the bridge ID. The Root Switch is the logical center of the STP topology in a switched network. Redundant paths to the Root are put in STP blocking mode.

BPDUs contain information about the sending switch and its ports. The information includes switch and port MAC addresses, switch priority, port priority, and path cost. The STP uses this information to elect the Root Switch and the root port for the switched network, and the root port and the designated port for each switched segment.

VLAN

VLAN is a network of computers that behave as if they are connected to the same wire even though they are physically located on different segments of a LAN. VLAN’s are configured through software rather than hardware, which make them extremely flexible. One of the biggest advantages of VLAN’s is that when a computer is physically moved to another location, it can stay on the same VLAN without any hardware reconfiguration.

Note:

Current IS5Com’s PVRST+ release does not support GVRP (Generic Attribute Registration Protocol VLAN Registration Protocol)