System information

INS_CNGE2FE8MSPOE+_REV–
12/20/12 PAGE 92
INSTALLATION AND OPERATION MANUAL CNGE2FE8MSPOE+
TECH SUPPORT: 1.888.678.9427
Commands Level Description Example
spanning-tree enable G Enable spanning tree switch(config)#spanning-tree enable
spanning-tree priority
[0to614 40]
G Configure spanning tree priority
parameter
switch(config)#spanning-tree priority
32767
spanning-tree max-age
[seconds]
G 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.
switch(config)# spanning-tree max-age 15
spanning-tree hello-time
[seconds]
G Use the spanning-tree hello-time
global configuration command to
specify the interval between hello
bridge protocol data units (BPDUs).
switch(config)#spanning-tree hello-time 3
spanning-tree forward-
time [seconds]
G 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.
switch(config)# spanning-tree forward-
time 20
stp-path-cost
[1to200000000]
I Use the spanning-tree cost interface
configuration command to set the
path cost for Spanning Tree
Protocol (STP) calculations. In the
event of a loop, spanning tree
considers the path cost when
selecting an interface to place into
the forwarding state.
switch(config)#interface fastEthernet 2
switch(config-if)#stp-path-cost 20
stp-path-priority
[Port Priority]
I Use the spanning-tree port-priority
interface configuration command to
configure a port priority that is used
when two switches tie for position as
the root switch.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-path-priority 127
stp-admin-p2p
[Auto|True|False]
I Admin P2P of STP priority on this
interface.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-admin-p2p Auto
stp-admin-edge
[True|False]
I Admin Edge of STP priority on this
interface.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-admin-edge True
stp-admin-non-stp
[True|False]
I Admin NonSTP of STP priority on this
interface.
switch(config)#interface fastEthernet 2
switch(config-if)# stp-admin-non-stp False
Show spanning-tree E Display a summary of the spanning-
tree states.
switch>show spanning-tree