Specifications

CHAPTER 3
Spanning Tree
Configuring Spanning Tree
To change the STP priority value, use the following:
Switch (config)# spanning-tree vlan vlan_no. priority value
To configure a switch as root without manually changing priority values, use the following:
Switch (config)# spanning-tree vlan vlan_no.
root
{primary | secondary}
To change the STP port cost for an access port, use the following:
Switch(config-if)# spanning-tree cost
value
To change the STP port cost for a VLAN on a trunk port, use the following:
Switch(config-if)# spanning-tree vlan vlan_no. cost
value
To display STP information for a VLAN, use the following:
Switch# show spanning-tree vlan vlan_no.
To display the STP information for an interface, use the following:
Switch # show spanning-tree interface interface_no. [detail]
To verify STP timers, use the following:
Switch #
show
spanning-tree bridge brief
[ 37 ]
© 2010 Pearson Education, Inc. All rights reserved. This publication is protected by copyright. Please see page 112 for more details.
CCNP SWITCH 642-813 Quick Reference by Denise Donohue