HP交換器STP配置

HP交換器STP配置

我們有多台交換機,並且在所有交換器上啟用了 STP。

我認為存在一些配置問題..如果我們看一下“主”開關和其他開關之一..

主開關是這樣的

Multiple Spanning Tree (MST) Information

  STP Enabled   : Yes
  Force Version : MSTP-operation
  IST Mapped VLANs : 1-4094
  Switch MAC Address : b05ada-2f76cb
  Switch Priority    : 0
  Max Age  : 20
  Max Hops : 20
  Forward Delay : 15

  Topology Change Count  : 8277
  Time Since Last Change : 2 mins

  CST Root MAC Address : 20677c-a64200
  CST Root Priority    : 0
  CST Root Path Cost   : 20000
  CST Root Port        : 2/46

  IST Regional Root MAC Address : b05ada-2f76cb
  IST Regional Root Priority    : 0
  IST Regional Root Path Cost   : 0
  IST Remaining Hops            : 20

  Root Guard Ports     :
  Loop Guard Ports     :
  TCN Guard Ports      :
  BPDU Protected Ports :
  BPDU Filtered Ports  : 2/31-2/32
  PVST Protected Ports :
  PVST Filtered Ports  :

  Root Inconsistent Ports  :
  Loop Inconsistent Ports  :

還有其他人之一:

Multiple Spanning Tree (MST) Information

  STP Enabled   : Yes
  Force Version : MSTP-operation
  IST Mapped VLANs : 1-4094
  Switch MAC Address : 941882-b26c00
  Switch Priority    : 32768
  Max Age  : 20
  Max Hops : 20
  Forward Delay : 15

  Topology Change Count  : 5
  Time Since Last Change : 54 mins

  CST Root MAC Address : 20677c-a64200
  CST Root Priority    : 0
  CST Root Path Cost   : 60000
  CST Root Port        : 24

  IST Regional Root MAC Address : 941882-b26c00
  IST Regional Root Priority    : 32768
  IST Regional Root Path Cost   : 0
  IST Remaining Hops            : 20

  Root Guard Ports     :
  Loop Guard Ports     :
  TCN Guard Ports      :
  BPDU Protected Ports :
  BPDU Filtered Ports  :
  PVST Protected Ports :
  PVST Filtered Ports  :

  Root Inconsistent Ports  :
  Loop Inconsistent Ports  :

我可以看到它們的 CST 根優先權都設定為 0?但確實有不同的開關優先權..

它們也具有相同的“MST 配置修訂版”但不同的“MST 配置名稱”。

那是對的嗎?

答案1

我可以看到它們的 CST 根優先權都設定為 0?但確實有不同的開關優先權..

這很正常 - “CST 根優先級”並非來自您正在查看的交換器。它顯示有關目前透過 STP 選擇哪個交換器作為「根」交換器的資訊。

例如,由於您的 b05ada-2f76cb 優先權為 0,因此它通常應成為根交換機,並且所有交換器應顯示“CST 根 MAC 位址:b05ada-2f76cb”以及“CST 根優先權:0”。

但就你而言,你有一個神秘的交換器 20677c-a64200 (20:67:7c:a6:42:00) 也配置了優先權 0它具有數字較低的 MAC 位址,因此它被選為根。 (如果它經常斷開和重新連接,那肯定會動搖整棵樹。)

因此追蹤交換機(它可能不是交換機,它可能是路由器或運行 STP 服務的電腦);如果是合法設備,則將其變更為使用較高的優先權值;如果不是,請找出是誰將其放入您的網路中的。

STP 狀態中的「CST Root Port: 2/46」行告訴您壞根連線的位置。

(也許可以考慮啟用「BPDU 保護」等功能,以防止某些連接埠在不應該連接交換器的情況下完全接受STP,或啟用「受限角色」/「根保護」等功能,以防止它們被選為根端口同時仍允許 STP。

相關內容