Wednesday, March 11, 2015

Loop Guard

  • Prevent loops by detecting the sudden loss of BPDUs
    • Non-designated port cannot transistion to designated
    • Does not work when transitioning from disabled state
    • Only superior BPDUs are considered
    • Imcompatible with RootGuard
  • Global or per-port configuration
    • Blogbal configuration enables LoopGuard on all port
  • Protects from
    • Unidirectional links
    • Switches/links that block BPDUs
  • LoopGuard-enable ports may send BPDUs
    • When inferior BPDUs are received


Loop guard dùng trong trường hợp unidirectional links, ngăn cản Non-Designated port trở thành Designated port tránh loop có thể xảy ra.
- Cho topo: 

+ IOU1 và IOU3 chạy STP vlan 1 (IOU2 không tham gia STP vlan1 )
+ link giữa port e0/1 (IOU3) và e0/0 (IOU1) unidirectional links.

GIẢ SỬ: e0/1 IOU3 trạng thái block.

Do nguyên nhân nào đó trên IOU2 (như e0/0, e0/1 shutdown, filter BPDU...) làm IOU3 không nhận được BPDU ở port e0/1 --> port e0/1 chuyển từ trạng thái block -> Designated port (sau STP time).
=> Loop có thể xảy ra.

Để tránh trường hợp đó, loop guard sẽ được cấu hình trên e0/1 IOU3. Khi port e0/1 không nhận được BPDU, port sẽ chuyển sang trạng thái Loop Inconsistent (giống với trạng thái block) => tránh loop xảy ra.

No comments:

Post a Comment