Configuring Spanning Tree Protocol (STP)
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>
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. A higher numerical value means a
lower priority; thus, the highest priority is 0.
The default depends on the port type:
• 10 Mbps – 100
• 100 Mbps – 19
• Gigabit – 4
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 0 – 255. The default is 128.
USING THE WEB MANAGEMENT INTERFACE
To modify the STP port parameters:
1. Log on to the device using a valid user name and password for read-write access. The System configuration
panel is displayed.
5 - 5