Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 97
53-1002269-02
Configuring standard STP parameters
6
PowerConnect(config)#vlan 1
PowerConnect(config-vlan-1)#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. Refer to “Configuring STP related features” on page 106.
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
configuration BPDU from the root bridge 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.
Changing STP port parameters
To change the path and priority costs for a port, enter commands such as the following.
PowerConnect(config)#vlan 10
PowerConnect(config-vlan-10)#spanning-tree ethernet 5 path-cost 15 priority 64
Syntax: spanning-tree ethernet<portnum> path-cost <value> | priority <value> | disable | enable
The <portnum> parameter specifies the interface.
The path-cost <value> parameter specifies the port cost as a path to the spanning tree 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
Gbps – 4
10 Gbps 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. The value you can specify depends on the
software version running on the device, as follows:
The disable | enable parameter disables or re-enables STP on the port. The STP state change
affects only this VLAN. The port STP state in other VLANs is not changed.