7 STP, RSTP, and MSTP configuration and management

1.Enter the configure terminal command to access global configuration mode.

2.Enter the protocol command to enable STP, RSTP, or MSTP.

switch(config)#protocol spanning-tree rstp

3.Specify the bridge priority. The range is 0 through 61440 and the priority values can be set only in increments of 4096. The default priority is 32678.

switch(conf-stp)#bridge-priority 20480

Specifying the bridge forward delay

In any mode (STP, RSTP, or MSTP), use this command to specify how long an interface remains in the listening and learning states before the interface begins forwarding all spanning tree instances.

The range is 4 through 30 seconds. The default is 15 seconds. The following relationship should be kept:

2*(forward_delay - 1)>=max_age>=2*(hello_time + 1)

To specify the bridge forward delay, perform the following steps from privileged EXEC mode.

1.Enter the configure terminal command to access global configuration mode.

2.Enter the protocol command to enable STP, RSTP, or MSTP.

switch(config)#protocol spanning-tree stp

3. Specify the bridge forward delay.

switch(conf-stp)#forward-delay 20

Specifying the bridge maximum aging time

In any mode (STP, RSTP, or MSTP), use this command to control the maximum length of time that passes before an interface saves its Bridge Protocol Data Unit (BPDU) configuration information.

When configuring the maximum aging time, the max-age setting must be greater than the hello-time setting. The range is 6 through 40 seconds. The default is 20 seconds. The following relationship should be kept:

2*(forward_delay - 1)>=max_age>=2*(hello_time + 1)

66

Converged Enhanced Ethernet Administrator’s Guide

 

53-1002163-02

Page 88
Image 88
Brocade Communications Systems 53-1002163-02 Specifying the bridge forward delay, Specifying the bridge maximum aging time