Installation and Basic Configuration Guide
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. Modify the bridge STP parameters to the values desired.
6. Click Apply to save the changes to the device's running-config file.
7. Select the Save link at the bottom of the dialog. Select Yes when prompted to save the configuration change
to the startup-config file on the device's flash memory.
Changing STP Port Parameters
To change STP port parameters, use either of the following methods.
USING THE CLI
To change the path and priority costs for a port, enter commands such as the following:
HP9300(config)# vlan 10
HP9300(config-vlan-10)# spanning-tree ethernet 1/5 path-cost 15 priority 64
Syntax: spanning-tree ethernet <portnum> path-cost <value> | priority <value> | disable | enable
The ethernet <portnum> parameter specifies the interface.
The path-cost <value> parameter specifies the port's cost as a path to the spanning tree's root bridge. STP
prefers the path with the lowest cost. You can specify a value from 0 – 65535.
The default depends on the port type:
•
10 Mbps – 100
•
100 Mbps – 19
•
Gigabit – 4
•
10 Gigabit – 2
The priority <value> parameter specifies the preference that STP gives this port relative to other ports for
forwarding traffic out of the spanning tree. You can specify a value from 8 – 252, in increments of 4. If you enter a
8 - 6