Configuring Device Information 243
The following is an example of the CLI commands:
show spanning-tree [ethernet
interface | port-channel port-
channel-number]
Displays spanning tree configuration
identifier.
show spanning-tree [detail] [active
| blockedports]
Displays spanning tree configuration
information - detailed information or
active ports or blocked ports.
Table 7-60. STP Global Parameter CLI Commands
CLI Command Description
console(config)# spanning-tree
console(config)# spanning-tree mode rstp
console(config)# spanning-tree priority 12288
console(config)# spanning-tree hello-time 5
console(config)# spanning-tree max-age 15
console(config)# spanning-tree forward-time 25
console(config)# exit
console# show spanning-tree
Spanning tree enabled mode RSTP
Default port cost method: short
Root ID Priority 12288
Address 00:e8:00:b4:c0:00
This switch is the root
Hello Time 5 sec Max Age 15 sec Forward Delay 25 sec
Number of topology changes 5 last change occurred 00:05:28 ago
Times: hold 1, topology change 40, notification 5
hello 5, max age 15, forward delay 25