นอกเหนือจากคำแนะนำการวินิจฉัยก่อนหน้านี้คุณควรเรียนรู้ที่จะตีความผลลัพธ์จากคำสั่ง "show spanning-tree" ของสวิตช์ของคุณ (หรือเทียบเท่า) มันจะแสดงรูทพอร์ตพอร์ตที่กำหนดและจำนวนการวินิจฉัยที่สำคัญอื่น ๆ
นี่คือตัวอย่างเครือข่ายที่ฉันเพิ่งตั้งค่าด้วย 2 x Cisco 2950 และ 1 x HP 3400cl การเชื่อมต่อในเครือข่ายมีดังนี้:
- hp3400cl [24] -> c2950 [g0 / 2] (1,000 Mbps)
 
- c2950 [f0 / 23] -> c2950b [f0 / 47] (100 Mbps)
 
- c2950b [f0 / 45] -> hp3400cl [23] (100 Mbps)
 
สวิตช์ทั้งหมดอยู่ในโหมด MSTP โดยมีการตั้งค่าอินสแตนซ์สแปนทั่วไปเท่านั้น hp3400cl มีลำดับความสำคัญ 0, c2950 เป็นลำดับความสำคัญสูงสุดถัดไปที่ 8192 และ c2950b จะมีลำดับความสำคัญสูงสุด 12288 ดังนั้น hp3400cl ควรเป็นรูต นี่คือลักษณะที่เอาต์พุต "show spanning-tree" มีลักษณะ:
hp3400cl# show spanning-tree 
 Multiple Spanning Tree (MST) Information
  STP Enabled   : Yes
  Force Version : MSTP-operation
  IST Mapped VLANs : 1-4094
  Switch MAC Address : 001871-8bd020
  Switch Priority    : 0    
  Max Age  : 6 
  Max Hops : 20
  Forward Delay : 4 
  Topology Change Count  : 4           
  Time Since Last Change : 4 mins      
  CST Root MAC Address : 001871-8bd020
  CST Root Priority    : 0           
  CST Root Path Cost   : 0           
  CST Root Port        : This switch is root
  IST Regional Root MAC Address : 001871-8bd020
  IST Regional Root Priority    : 0           
  IST Regional Root Path Cost   : 0           
  IST Remaining Hops            : 20          
  Root Guard Ports : 
  TCN Guard Ports  : 
  BPDU Protected Ports :                                         
  BPDU Filtered Ports  :                                         
                  |           Prio             | Designated    Hello         
  Port  Type      | Cost      rity  State      | Bridge        Time  PtP Edge
  ----- --------- + --------- ----- ---------- + ------------- ----- --- ----
  1     100/1000T | Auto      128   Disabled   |
...
  22    100/1000T | Auto      128   Disabled   |
  23    100/1000T | 200000    128   Forwarding | 001871-8bd020 1     Yes No  
  24    100/1000T | 20000     128   Forwarding | 001871-8bd020 1     Yes No  
c2950#show spanning-tree 
MST00
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     0018.718b.d020
             Cost        20000
             Port        26 (GigabitEthernet0/2)
             Hello Time   1 sec  Max Age  6 sec  Forward Delay  4 sec
  Bridge ID  Priority    8192   (priority 8192 sys-id-ext 0)
             Address     000c.308f.7f80
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
...
Fa0/24           Desg FWD 200000    128.24   P2p 
Gi0/2            Root FWD 20000     128.26   P2p Bound(RSTP) 
c2950b#show spanning-tree 
MST00
  Spanning tree enabled protocol mstp
  Root ID    Priority    0
             Address     0018.718b.d020
             Cost        20000
             Port        47 (FastEthernet0/47)
             Hello Time   1 sec  Max Age  6 sec  Forward Delay  4 sec
  Bridge ID  Priority    12288  (priority 12288 sys-id-ext 0)
             Address     000a.b7e3.30c0
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/45           Altn BLK 200000    128.45   P2p Bound(RSTP) 
Fa0/47           Root FWD 200000    128.47   P2p 
สิ่งสำคัญที่ควรทราบเกี่ยวกับสถานะพอร์ตในรายการด้านบนคือ:
- ลิงก์ของสวิตช์รูทไปยังสวิตช์อื่นกำลังส่งต่อ
 
- ลิงก์ของสวิตช์ที่ไม่ใช่รูทไปยังรูทคือ "รูท FWD" ในทั้งสองกรณี
 
- ลิงก์ที่ไม่ใช่รูทของสวิตช์ซึ่งกันและกันคือ "Altn BLK" ที่ปลายด้านหนึ่งและ "Desg FWD" ที่อีกด้านหนึ่ง นี่หมายความว่า c2950b รู้ว่า f0 / 45 เป็นเส้นทางสำรองไปที่รูทและได้บล็อกเพื่อป้องกันลูป หากพอร์ตรูท (f0 / 47) ล้มเหลว c2950b จะตั้งค่า f0 / 45 เป็นพอร์ตรูทโดยไม่ต้องทำการแปลงใหม่