Installation and Getting Started Guide

Maximum Age – The interval a bridge will wait for receipt of a hello packet before initiating a topology change. Possible values: 6 – 40 seconds. Default is 20.

Hello Time – The interval of time between each configuration BPDU sent by the root bridge. Possible values: 1 – 10 seconds. Default is 2.

Priority – A parameter used to identify the root bridge in a network. The bridge with the lowest value has the highest priority and is the root. Possible values: 0 – 65,535. Default is 32,768.

You can apply the following parameters on an individual port level.

Port Priority – This parameter can be used to assign a higher (or lower) priority to a port. In the event that traffic is re-routed, this parameter gives the port forwarding preference over lower priority ports within a VLAN or on the switch or routing switch (when no VLANs are configured for the system). Ports are re-routed based on their priority. The highest value is routed first. Possible values: 0 – 255. Default is 128. This value overrides the system-wide STP priority.

Path Cost – This parameter can be used to assign a higher or lower path cost to a port. This value can be used to bias traffic toward or away from a certain path during periods of rerouting. For example, if you wish to bias traffic away from a certain port, assign it a higher value than other ports within the VLAN or all other ports (when VLANs are not active on the switch or routing switch). Possible values are 0 – 65,535 and the default values are 1000/port speed for half-duplex ports and (1000/port speed)/2 for full-duplex ports.

Enabling Single STP

To enable single STP, use one of the following methods.

NOTE: If the device has only one port-based VLAN (the default VLAN), then the device is already running a single instance of STP. In this case, you do not need to enable single STP. You need to enable single STP only if the device contains more than one port-based VLAN and you want all the ports to be in the same STP broadcast domain.

NOTE: If STP is disabled on a VLAN, you must enable STP on the VLAN before enabling single STP.

USING THE CLI

To configure the HP device to run a single spanning tree, enter the following command at the global CONFIG level.

HP9300(config) spanning-tree single

Here is the syntax for the global STP parameters.

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

Here is the syntax for the STP port parameters.

Syntax: [no] spanning-tree single [ethernet <portnum> path-cost <value> priority <value>]

NOTE: Both commands listed above are entered at the global CONFIG level.

NOTE: If the device has only one port-based VLAN, the CLI command for enabling single-instance STP is not listed in the CLI. The command is listed only if you have configured a port-based VLAN.

To change a global STP parameter, enter a command such as the following at the global CONFIG level:

HP9300(config) spanning-tree single priority 2

This command changes the STP priority for all ports to 2.

To change an STP parameter for a specific port, enter commands such as the following:

HP9300(config) spanning-tree single ethernet 1/1 priority 10

The commands shown above override the global setting for the STP priority and set the priority to 10 for port 1/1.

5 - 18