Installation and Getting Started Guide

Changing STP Bridge and Port Parameters

Table 5.1 on page 5-2and Table 5.2 on page 5-2list the default STP parameters. If you need to change the default value for an STP parameter, use the following procedures.

Changing STP Bridge Parameters

To change STP bridge parameters, use either of the following methods.

USING THE CLI

To change a device’s STP bridge priority to the highest value to make the device the root bridge, enter the following command:

HP9300(config)# spanning-tree priority 0

The command in this example changes the priority on a device on which you have not configured port-based VLANs. To configure the same parameters on a port-based VLAN, enter commands such as the following:

HP9300(config)# vlan 10

HP9300(config-vlan-10)# spanning-tree priority 0

Syntax: [no] spanning-tree [forward-delay <value>] [hello-time <value>] [maximum-age <value>] [priority <value>]

The forward-delay<value> parameter specifies the forward delay and can be a value from 4 – 30 seconds. The default is 15 seconds.

NOTE: You can configure a device for faster convergence (including a shorter forward delay) using Fast Span or Fast Uplink Span. See “Configuring Advanced Features” on page 5-13.

The hello-time<value> parameter specifies the hello time and can be a value from 1 – 10 seconds. The default is 2 seconds.

NOTE: This parameter applies only when this device or VLAN is the root bridge for its spanning tree.

The maximum-age<value> parameter specifies the amount of time the device waits for receipt of a hello packet before initiating a topology change. You can specify from 6 – 40 seconds. The default is 20 seconds.

The priority <value> parameter specifies the priority and can be a value from 0 – 65535. A higher numerical value means a lower priority. Thus, the highest priority is 0. The default is 32768.

You can specify some or all of these parameters on the same command line. If you specify more than one parameter, you must specify them in the order shown above, from left to right.

USING THE WEB MANAGEMENT INTERFACE

To modify the STP parameters:

1.Log on to the device using a valid user name and password for read-write access. The System configuration panel is displayed.

2.Click on the plus sign next to Configure in the tree view to display the configuration options.

3.Select the STP link to display the STP bridge and port parameters.

4.Click the Modify button in the STP bridge parameters table to display the STP configuration panel, as shown in the following example. If the device has multiple port-based VLANs, select the Modify button next to the VLAN on which you want to change the parameters. A dialog such as the following is displayed.

5 - 4