Command-line Interface: Configuring Basic STA Settings

The following command displays global STA settings, followed by settings for each port.

Console#show spanning-treeSpanning-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.0000E8666672

Current root port

:0

Current root cost

:0

Number of topology changes

:0

Last topology changes time (sec.):9142

Transmission limit

:3

Path Cost Method

:4308020

.

 

.

 

.

 

Note – The current root port and current root cost display zero when the switch is not connected to the network.

The following example sets the spanning tree mode to RSTP, enables the spanning tree, and then sets the indicated attributes.

Console(config)#spanning-tree mode rst

Console(config)#spanning-tree

Console(config)#spanning-tree priority 40000

Console(config)#spanning-tree hello-time 5

Console(config)#spanning-tree max-age 40

Console(config)#spanning-tree forward-time 20

Console(config)#

3-74Sun Fire B1600 Blade System Chassis Switch Administration Guide • June 2003

Page 112
Image 112
Sunfire B1600 manual Command-line Interface Configuring Basic STA Settings, Consoleconfig#spanning-tree mode rst