這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
network:link:spanningtreefamily [2014/07/20 09:29] ali88 [RSTP] |
network:link:spanningtreefamily [2014/08/21 02:36] (目前版本) ali88 [RSTP] |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ======STP RSTP MSTP====== | + | ======STP RSTP====== |
STP,RSTP及MSTP一開始設計就是要**防止Level 2 switch網路造成迴圈(Loop)**和**實現鏈路冗餘(redundancy)**。 | STP,RSTP及MSTP一開始設計就是要**防止Level 2 switch網路造成迴圈(Loop)**和**實現鏈路冗餘(redundancy)**。 | ||
* 網路造成迴圈(Loop)<code>當網路發生Loop時,透過STP演算法適當地將其它界面Broke掉。如下圖 會將左邊switch Fa0/2 Block</code> | * 網路造成迴圈(Loop)<code>當網路發生Loop時,透過STP演算法適當地將其它界面Broke掉。如下圖 會將左邊switch Fa0/2 Block</code> | ||
行 44: | 行 44: | ||
|Learning |Learning |YES |YES | | |Learning |Learning |YES |YES | | ||
|Forwarding |Forwarding |YES |YES | | |Forwarding |Forwarding |YES |YES | | ||
- | ===RSTP Port Costs=== | + | ===RSTP Port Costs及Dell Force 10 相關指令=== |
(此表資料來源: Dell Taiwan Networking Partner Training Book-A) | (此表資料來源: Dell Taiwan Networking Partner Training Book-A) | ||
^Link Speed^Default Cost STP^Default Cost RSTP^ | ^Link Speed^Default Cost STP^Default Cost RSTP^ | ||
行 53: | 行 53: | ||
|1G LAG |3 |18000 | | |1G LAG |3 |18000 | | ||
|10G LAG |1 |1800 | | |10G LAG |1 |1800 | | ||
- | |Dell Force 10 | | + | |
+ | (此表資料來源: Dell Taiwan Networking Partner Training Book-A) | ||
+ | ^Task^Command Syntax^Command Mode^ | ||
+ | |Default Port Cost:如上表所示|**spanning-tree rstp cost** cost|INTERFACE| | ||
+ | |改變Port Cost Range:0-65535|::: | ::: | | ||
+ | |改變port介面的優先權,Default為128|**Spanning-tree rstp** **priority** priority-value|INTERFACE| | ||
+ | |改變Port Cost Range:0-25|:::|:::| | ||
+ | ======MSTP====== | ||
+ | 當網路規模較很大需要Switch特別多時,使用RSTP還是會導致較長收斂時間,若是將網路架構用VLAN方式切割成多個VLAN,或需是可以解決 | ||
+ | 的方法,但實際上RSTP及STP無法跨越不同VLAN來運作,因為以RSTP及STP觀點來看,雖然切割成不同VLAN,不同Vlan之間還是共用一樣的Spanning Tree。 | ||
======參考資料====== | ======參考資料====== | ||
* [[http://en.wikipedia.org/wiki/Rapid_Spanning_Tree_Protocol#Rapid_Spanning_Tree_Protocol|Spanning Tree Protocol]] | * [[http://en.wikipedia.org/wiki/Rapid_Spanning_Tree_Protocol#Rapid_Spanning_Tree_Protocol|Spanning Tree Protocol]] |