stp(spanning tree protocol)
cisco交換器執行IEEE 802.1D
STP是第二層協定 用來維護交換式網路 避免產生網路迴圈
stp需要收斂時間 etherchannel 則不需要
可視為etherchannel 全部綁在一起

實際環境下:若當一個switch不需考慮 將接口連接就會通
兩個switch考慮 trunk
三個switch考慮 stp
多個switch考慮 distribution layer

stp 運作方式:
先挑出bridge ID
在挑出root port
在挑出 designated port  port比cost
先比較優先權 在比mac 取最小的優先

spanning tree port states
先blocking -> listening -> leareing ->forwarding 共經過50sec
在blocking port 在listening 決定是rootport還是desiguated port
所以當pc接到switch 接通時 需等待一段時間(spanning tree)30sec 才會通

spanning tree path cost:
cost數字越小 proitily優先權越高

當網路有異動的時候 spanning tree會重新計算 才會穩定 而此狀況過程 稱作 "stp convergence"收斂

perVlan Spanning tree plus
vlan1在哪裡 blocking 在對角的 port

distribution switch
vlan1在哪裡 block port
vlan2在哪裡 block port 可得到網路負載平衡

rapid spanning tree protocol
root bridge poot --> designeted port

connect port --> root port
switch port --> alternate port

通常設定vlan command line有兩種:
1.設定vlan1 .vlan2為priority
2.設定vlan2.vlan2為 primary (32678-8192) , seconary (32768-4096)

vlan database
1.standard  1-1001 1-1005
2.extended  1025-4094

arrow
arrow
    全站熱搜

    taichenyu 發表在 痞客邦 留言(0) 人氣()