
Page 13 | AlliedWare Plus™ OS How To Note: Switching
Rapid Spanning Tree Protocol (RSTP)
To see the STP state, enter Privileged Exec mode and enter the command:
awplus#show spanning-tree
The output looks like this:
Note that the Bridge ID is 80000000cd24033
1
, and that other IDs follow the same pattern.
This is made up of:
z
8000—the switch’s root bridge priority in hexadecimal
z
0000cd24033
1
—the switch’s MAC address.
% 1: Bridge up - Spanning Tree Enabled
% 1: Root Path Cost 200000 - Root Port 5006 - Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20
% 1: Root Id 80000000cd127808
% 1: Bridge Id 80000000cd240331
% 1: last topology change Thu May 31 00:27:28 2007
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
%
.
.
.
%
% port1.0.5: Port 5005 - Id 838d - Role Alternate - State Discarding
% port1.0.5: Designated Path Cost 200000
% port1.0.5: Configured Path Cost 200000 - Add type Explicit ref count 1
% port1.0.5: Designated Port Id 838d - Priority 128 -
% port1.0.5: Root 80000000cd127808
% port1.0.5: Designated Bridge 80000000cd240226
% port1.0.5: Message Age 1 - Max Age 20
% port1.0.5: Hello Time 2 - Forward Delay 15
% port1.0.5: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo change timer 0
% port1.0.5: forward-transitions 2
% port1.0.5: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% port1.0.5: No portfast configured - Current portfast off
% port1.0.5: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.5: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.5: no root guard configured - Current root guard off
% port1.0.5: Configured Link Type point-to-point - Current point-to-point
%
% port1.0.6: Port 5006 - Id 838e - Role Rootport - State Forwarding
% port1.0.6: Designated Path Cost 0
% port1.0.6: Configured Path Cost 200000 - Add type Explicit ref count 1
% port1.0.6: Designated Port Id 8006 - Priority 128 -
% port1.0.6: Root 80000000cd127808
% port1.0.6: Designated Bridge 80000000cd127808
% port1.0.6: Message Age 1 - Max Age 20
% port1.0.6: Hello Time 2 - Forward Delay 15
% port1.0.6: Forward Timer 0 - Msg Age Timer 5 - Hello Timer 1 - topo change timer 0
% port1.0.6: forward-transitions 3
% port1.0.6: Version Rapid Spanning Tree Protocol - Received RSTP - Send RSTP
% port1.0.6: No portfast configured - Current portfast off
% port1.0.6: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.6: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.6: no root guard configured - Current root guard off
% port1.0.6: Configured Link Type point-to-point - Current point-to-point