如何在環形拓撲中設定 RSTP

選項
Zyxel小編 Peter
Zyxel小編 Peter 文章數: 176  Zyxel Employee
First Anniversary 10 Comments Friend Collector First Answer
已編輯 十一月 2022 乙太網路交換器 常見問題

該範例向管理員展示如何在環形拓撲中設置 RSTP(快速生成樹協議)以實現網絡冗餘。 


注意:

本文以所有網路IP地址和子網遮罩為例。請將它們替換為您的實際網路 IP 地址和子網遮罩。

 1. 設定交換器

1-1。在完成 RSTP 設置之前,確保Switch-2Switch-3之間的鏈路沒有連接以防止意外環路。

1-2。設定Switch-1:進入 Web GUI。Menu > Advanced Application > Spanning Tree Protocol > Configuration.。檢查 Spanning Tree設定是否為Rapid Spanning Tree.。如果沒有,請選擇它並點選“應用”。


1-3。設定Switch-1:進入 Web GUI。Menu > Advanced Application > Spanning Tree Protocol > RSTP。開關(ACTIVE)打勾。設置 Bridge Priority = 4096port 12開關(ACTIVE)打勾。點選“啟用”。


1-4。設定Switch-2:進入 Web GUI。 Menu > Advanced Application > Spanning Tree Protocol > Configuration。檢查生成樹配置是否為 Rapid Spanning Tree。如果沒有,請選擇它並點選“應用”。

1-5。設置Switch-2:進入 Web GUI。Menu > Advanced Application > Spanning Tree Protocol > RSTP.。開關(ACTIVE)打勾。設定 Bridge Priority = 20480port 12開關(ACTIVE)打勾。點選“啟用


1-6。設定Switch-3:進入 Web GUI。Menu > Advanced Application > Spanning Tree Protocol > Configuration。檢查 Spanning Tree 配置是否為Rapid Spanning Tree。如果沒有,請選擇它並點選“應用”。

Set the Bridge Priority = 32768. Active port 12. Click “Apply”.

 1-7。設定Switch-3:進入 Web GUI。 Menu > Advanced Application > Spanning Tree Protocol > RSTP.。開關(ACTIVE)打勾。設定 Bridge Priority = 32768port 12開關(ACTIVE)打勾。點選“啟用”。


1-8。最後,連接Switch-2Switch-3之間的鏈路。

 2. 測試結果

2-1。驗證Switch-1的狀態:轉到Menu > Advanced Application > Spanning Tree Protocol。Root Bridge ID 和我們的Bridge ID 應該相同。這意味著 Switch-1 是Root Bridge。port 1 和 2 都應該處於FORWARDING狀態,而它們的port角色都是指定port


2-2。驗證Switch-2的狀態:Menu > Advanced Application > Spanning Tree Protocol.檢查 Switch-2 的port狀態。port 1 應該是處於轉發狀態的port,而port 2 應該是處於轉發狀態的指定port


2-3。驗證Switch-3的狀態:Menu > Advanced Application > Spanning Tree Protocol檢查 Switch-3 的port狀態。port 1 應該是處於FORWARDING狀態的port,而port 2 是處於DISCARDING狀態的備用port


3. 可能出什麼問題

3-1。如果您的Root Bridge不是您期望的設備:

·         降低此設備的Spanning Tree 優先級。

·         提高其他設備的Spanning Tree priority優先級。

具有Bridge優先級的交換機將是Root Bridge。如果優先級相同,則交換機將是Root Bridge。

3-2。如果無法訪問交換機的管理,並且交換機的port LED 持續閃爍,您可以通過移除或斷開任何冗餘鏈路以破壞環形拓撲來恢復管理訪問。這經常發生在設備上配置Spanning Tree之前或Spanning Tree配置不正確時。