User Manual

84
spanning-tree
max-age
[6~40seconds]
Global
configuration
mode
Use the spanning-tree
max-age global configuration
command to change the
interval between messages the
spanning tree receives from the
root switch. If a switch does
not receive a bridge protocol
data unit (BPDU) message from
the root switch within this
interval, it recomputed the
Spanning Tree Protocol (STP)
topology.
20 sec
switch(config)#spanning-tree
max-age 15
spanning-tree
hello-time
[1~10seconds]
Global
configuration
mode
Use the spanning-tree
hello-time global configuration
command to specify the
interval between hello bridge
protocol data units (BPDUs).
2 sec.
switch(config)#spanning-tree
hello-time 3
spanning-tree
forward-time
[4~30seconds]
Global
configuration
mode
Use the spanning-tree
forward-time global
configuration command to set
the forwarding-time for the
specified spanning-tree
instances. The forwarding time
determines how long each of
the listening and learning
states last before the port
begins forwarding.
15 sec.
switch(config)#spanning-tree
forward-time 20
stp-port priority
[port priority]
pathcost [path
cost]
Interface
configuration
mode
Use the stp-port interface
configuration command to
configure a port priority and
path cost that is used when
two switches tie for position as
the root switch.
128
switch(config)#interface
gigaethernet 1
switch(config-if)#
stp-port priority 16 pathcost
200000