show spanning-tree |
list spanning tree information |
conf t |
enter into configuration mode |
spanning-tree vlan 1 root primary |
turn the switch primary for VLAN 1 |
spanning-tree vlan 1 priority 0 |
same result as above |
spanning-tree vlan 1 root secondary |
turn the switch secondary for VLAN 1 and re-negotiation started |
int range fa0/1-2 |
spanning-tree guard root |
safeguards the connection to be over prioritized by a new STP connection |
int fa0/3 |
spanning-tree portfast |
speed up the the access mode client connection, prevent long waiting time for spanning tree discover phase. Requirement that the switch port must be in access mode. |
exit |
spanning-tree mode rapid-pvst |
adjust spanning-tree mode. Need to be set on each switches. |
end |