System information
2-41
Spanning Tree Algorithm Configuration
2
CLI – This example shows general STA configuration and attributes for all ports.
Configuring Interface Settings
You can configure RSTP attributes for specific interfaces, including port priority, path
cost, link type, and edge port. You may use a different priority or path cost for ports
of the same media type to indicate the preferred path, link type to indicate a
point-to-point connection or shared-media connection, and edge port to indicate if
the attached device can support fast forwarding. (References to “ports” in this
section means “interfaces,” which includes both ports and trunks.)
Console#show spanning-tree ethernet 1/5 3-81
Console#show spanning-tree
Spanning-tree information
---------------------------------------------------------------
Spanning tree mode :RSTP
Spanning tree enable/disable :enable
Priority :32768
Bridge Hello Time (sec.) :2
Bridge Max Age (sec.) :20
Bridge Forward Delay (sec.) :15
Root Hello Time (sec.) :2
Root Max Age (sec.) :20
Root Forward Delay (sec.) :15
Designated Root :32768.00A0CA445566
Current root port :0
Current root cost :0
Number of topology changes :2
Last topology changes time (sec.):2209
Transmission limit :5
Path Cost Method :long
---------------------------------------------------------------
Eth 1/ 1 information
---------------------------------------------------------------
Admin status : enable
Role : disable
State : discarding
Path cost : 100000
Priority : 128
Designated cost : 0
Designated port : 128.1
Designated root : 32768.00A0CA445566
Designated bridge : 32768.00A0CA445566
Forward transitions : 0
Fast forwarding : disable
Admin edge port : disable
Oper edge port : disable
Admin Link type : auto
Oper Link type : point-to-point
---More---