User guide
Configuring Device Information 307
The following is an example of the CLI commands:
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
Interfaces
Name State Prio.
Nbr
Cost Sts Role PortFast Type
----- ------ ----- ---- ------ ------ --------- ------
g1 enabled 128.1 100 DSBL Dsbl No P2p (STP)
g2 enabled 128.2 100 DSBL Dsbl No P2p (STP)
g3 enabled 128.3 100 DSBL Dsbl No P2p (STP)