5 STP overview

Disabled—The interface is not participating in spanning tree because of a shutdown port, no link on the port, or no spanning tree instance running on the port.

A port participating in spanning tree moves through these states:

From initialization to blocking.

From blocking to listening or to disabled.

From listening to learning or to disabled.

From learning to forwarding, blocking, or disabled.

From forwarding to disabled.

The following STP features are considered optional features although you might use them in your STP configuration:

Root guard—For detailed information, see “Enabling the guard root” on page 59.

PortFast BPDU guard and BPDU filter—For detailed information, see “Enabling port fast (STP)” on page 61.

Configuring STP on Brocade FCoE hardware

The process for configuring STP on your Brocade FCoE hardware is as follows.

1.Enter Global Configuration mode.

2.Enable RSTP using the global protocol spanning-treecommand. For details, see “Enabling STP, RSTP, or MSTP” on page 51.

switch(config)#protocol spanning-tree rstp

3.Designate the root switch using the bridge-prioritycommand. For details, see “Specifying the bridge priority” on page 52. The range is 0 through 61440 and the priority values can be set only in increments of 4096.

switch(conf-stp)#bridge-priority 28582

4.Enable PortFast on switch ports using the spanning-tree portfast command. For details, see “Enabling port fast (STP)” on page 61. Note that this step is optional.

NOTE

PortFast only needs to be enabled on ports that connect to workstations or PCs. Repeat these commands for every port connected to workstations or PCs. Do not enable PortFast on ports that connect to other switches.

switch(config)#interface tengigabitethernet 0/10 switch(conf-if-te-0/10)#spanning-tree portfast switch(conf-if-te-0/10)#exit switch(config)#interface tengigabitethernet 0/11 switch(conf-if-te-0/11)#spanning-tree portfast switch(conf-if-te-0/11)#exit

Repeat these commands for every port connected to workstations or PCs.

5.Set the following ports to forwarding mode:

All ports of the root switch

The root port

The designated port

44

Converged Enhanced Ethernet Administrator’s Guide

 

53-1001761-01

Page 66
Image 66
Brocade Communications Systems 53-1001761-01 manual Configuring STP on Brocade FCoE hardware