Configuration Guide Vol. 1


28.4.4 Parameter setting of PVST +

Parameters must be set to satisfy "2 NG (forward-time-1) ≧ max-age ≧ 2 NG (hello-time + 1)". When a parameter is changed, parameters must be adjusted on all switches comprising the Spanning Tree Protocol.

<Structure of this section>

(1) Setting BPDU Sending Interval

A short BPDU sending interval makes topology changes easier to detect. A longer interval requires more time to detect a topology change, but can reduce BPDU traffic and the load on the Spanning Tree program for the Switch.

Points to note

When no value is set, BPDUs are sent at two-second intervals. Normally, this setting is not required.

Command examples

  1. (config)# spanning-tree vlan 10 hello-time 3

    Sets the PVST+ BPDU sending interval to 3 seconds for VLAN 10.

Notes

A short BPDU sending interval makes topology changes easier to detect, but might increase load on the Spanning Tree program due to an increase in BPDU traffic. If setting this parameter shorter than the default value (2 seconds) causes timeout messages to be output and the topology to change frequently, change it back to the default value.

(2) Setting the Max BPDU to Send

To prevent an increase in CPU load for a Spanning Tree Protocol, the maximum number of BPDUs to be sent per hello-time (BPDU sending interval) can be chosen. If topology changes frequently occur, a large quantity of BPDUs are sent to report and gather topology changes, possibly increasing BPDU traffic and CPU load. This can be controlled by limiting the maximum number of BPDUs to be sent.

Points to note

If no value is set, operation is performed with a maximum number of BPDUs per hello-time (BPDU sending interval) of 3. The configuration for this parameter only takes effect for Rapid PVST+, and is fixed at 3 for PVST+. Normally, this setting is not required.

Command examples

  1. (config)# spanning-tree vlan 10 transmission-limit 5

    Sets the maximum number of BPDUs to be sent per hello-time to 5 for VLAN 10 Rapid PVST+.

(3) Setting BPDU Max Valid Times

You can set the maximum enabled time for BPDUs sent from the root bridge. The BPDU counter is incremented whenever a switch is passed, and BPDUs exceeding the maximum enabled time are disabled and ignored.

Points to note

The maximum enabled time can be increased to have BPDUs reach many switches. If no value is set, 20 is used for the maximum enabled time.

Command examples

  1. (config)# spanning-tree vlan 10 max-age 25

    Sets the maximum enabled time for BPDUs to 25 seconds on the PVST+ for VLAN 10.

(4) Setting the state transition time

For timer-based operation in PVST+ mode or Rapid PVST+ mode, the port status transitions at a fixed time interval. For the PVST+ mode, it transitions from Blocking to Listening, Learning, and then Forwarding, and for the Rapid PVST+ mode, it transitions from Discarding to Learning and then Forwarding. The time required for these status transitions can be set. A small value can be set to transition more quickly to the Forwarding status.

Points to note

If no value is set, 15 seconds is used for the status transition time. When changing this parameter to a short period of time, make sure that BPDU max. valid time (max-age) and send interval (hello-time) satisfy "2 x (forward-time-1) ≧ max-age ≧ 2 x (hello-time + 1)".

Command examples

  1. (config)# spanning-tree vlan 10 forward-time 10

    Sets the status transition time to 10 for the VLAN 10 PVST+.