Spanning-Tree Protocol (STP)

避免乙太網路中的Loop(迴圈)發生,Loop在網路中會造成廣播風暴、單點封包之多點傳送、MAC-Address table不穩定等情況發生。

STP透過Ethernet多點傳播位址進行宣傳,01.80.C2.00.00.00-01.80.C2.00.00.0F為其位址(IEEE標準),有可能因不同的STP協定而有不同的位址,因此交換器網路建置同時須注意STP所採用之協定。

在Cisco交換器中,許多交換器預設採用PVST(Per VLAN Spanning-Tree)協定,針對每個不同的VLAN進行Spanning-Tree計算,但在Cisco交換器設計上有其Spanning-Tree instances上限的限制,如3750允許128個Spanning-Tree instances, 超過128個VLAN以上則會造成後續新增的VLAN不會進行STP計算而產生Loop的可能性,Cisco針對該情形發生的Wordarounds(http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080890613.shtml):

  • Reduce the number of VLANs that are configured to a number that the switch supports.
  • Configure the IEEE 802.1s Multiple STP (MSTP) on the switch in order to map multiple VLANs to a single STP instance.
  • Use switches and/or images (Enhanced Image [EI]) which support a greater number of VLANs.

spanning-tree portfast: 該介面將不傳送BPDU以加快該介面的啟用。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *