beautypg.com

Changing stp port parameters – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 549

background image

Brocade TurboIron 24X Series Configuration Guide

515

53-1003053-01

Configuring standard STP parameters

TurboIron(config)#vlan 1

TurboIron(config-vlan-1)#spanning-tree priority 0

Syntax: [no] spanning-tree [forward-delay ] | [hello-time ] | [maximum-age

] | [priority ]

The forward-delay 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 524.

The hello-time 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 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 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.

TurboIron(config)#vlan 10

TurboIron(config-vlan-10)#spanning-tree ethernet 5 path-cost 15 priority 64

Syntax: spanning-tree ethernet path-cost | priority | disable | enable

The parameter specifies the interface.

The path-cost 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 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.