XG700 User's Guide
127/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.10 Spanning Tree Protocol (STP) Configuration
Commands
This section explains the commands required in using Spanning Tree Protocol.
5.10.1 show spanning-tree
Function
Displays the state of Spanning Tree Protocol.
Prompt
xg>, or xg#
Command syntax
show spanning-tree [ detail [ { port <1-12> | agg-port <1-6> } ] ]
Parameter
detail
Displays the state of Spanning Tree in detail.
When this parameter is omitted, the display will be simplified.
port <1-12>
Specifies the switch ports.
agg-port <1-6>
Specifies the aggregation group.
When "port" parameter and "agg-port" parameter are omitted, the state of all ports will be displayed.
Command type
Operation management commands
Output form (in simplified display)
xg# show spanning-tree
Spanning Tree Information 2005/08/22-12:12:15
===============================================================================
Switch Information for Spanning Tree
-----------------------------------------------------------------
Spanning Tree : {Enabled | Disabled}
Root Switch Priority: 32768
Root Switch ID : 8000.0080.17C2.0511
Root Path Cost : 0
Root Port : port1
Switch Priority : 32768
Switch ID : 8001.0080.17C2.0512
Max Age
: 20 (sec)
Hello Time : 2 (sec)
Forward Time
: 15 (sec)
Topology Changes : 0
Last Topology Change: 2005/08/22-12:12:15
portfast errdisable : {enabled | disabled}
timeout
portfast errdisable : 300 sec
timeout interval
-----------------------------------------------------------------
Ports Information for Spanning Tree
-----------------------------------------------------------------
Port State Mode Cost Pri PortID
Flags Designated Switch
---- ---------- ---- ----
--- ------ ------ -------------------
1 Forward RSTP 2000 128 32769 Rpp-w 8000.0080.17C2.0511
2 Discard RSTP 2000 128 32770 Bpp-w 8000.0080.17C2.0511
3 Learn
RSTP 2000 128 32771 Bpp-w 8001.0080.17C2.0512
4 Forward RSTP 2000 128 32772 Dpp-- 8001.0080.17C2.0512
5 Down
RSTP 0 128 32773 ----- 0000.0000.0000.0000
6 Down
None 0 128 32774 ----- 0000.0000.0000.0000
7 Down
None 0 128 32775 ----- 0000.0000.0000.0000
8 Down
None 0 128 32776 ----- 0000.0000.0000.0000
9 Down
None 0 128 32777 ----- 0000.0000.0000.0000
10
Down
None 0 128 32778 ----- 0000.0000.0000.0000
11
Down
None 0 128 32779 ----- 0000.0000.0000.0000
12
Down
None 0 128 32780 ----- 0000.0000.0000.0000
-----------------------------------------------------------------
Flags
1: (Port role) R=Root, D=Designated, A=Alternate, B=Backup
2: (Config type) p=Point-to-point, s=Shared
3: (Oper. type) p=Point-to-point, s=Shared
4: (Proposal state) p=Proposing
5: (Received BPDU) d=802.1d, w=802.1w
===============================================================================