Cisco / CCNA 200-301 v2.0

試験項目 2.5.d · CCNA-076

Root Guard / Loop Guard / BPDU Guard

ドメイン 2 · Switching and Network Access · Rapid PVST+

このページのゴール

守りたいTopology条件からRoot Guard / Loop Guard / BPDU Guardを選択し、Trigger・適用条件・Inconsistent / err-disabledのScope・Recoveryを分離して判断できるようにする。

このページで学ぶこと

  • Root Guard Purpose
  • Root Guard Trigger Status
  • Root Guard Recovery
  • Loop Guard Purpose
  • Loop Guard Trigger Status
  • Loop Guard Recovery
  • Loop Guard Point To Point Condition
  • BPDU Guard Trigger Status
  • BPDU Guard Recovery
  • BPDU Guard Global vs Interface
  • Guard Operational Scope
  • Guard CLI Inconsistent Status
  • Root Guard Configuration
  • Loop Guard Configuration

Guardの選び方

Feature守るものTrigger代表状態
Root Guard意図したRoot位置Superior BPDUroot-inconsistent
Loop GuardBPDU消失による誤Forwarding防止期待BPDU消失loop-inconsistent
BPDU GuardEdge PortへSwitch接続防止BPDU受信err-disabled

Root Guard

interface Gi1/0/24
 spanning-tree guard root

Superior BPDUを受けた対象Instanceをroot-inconsistentにする。Superior BPDUが消えると自動回復する。

Loop Guard

interface Gi1/0/1
 spanning-tree guard loop

Root / Alternate方向のPoint-to-Point Linkで期待BPDUが消えた際、誤ってForwardingへ遷移することを防ぐ。BPDU受信が戻れば自動回復する。

BPDU Guard

interface Gi1/0/10
 spanning-tree bpduguard enable

spanning-tree portfast bpduguard default

Interface-levelとPortFast Defaultを分離する。Violation時はInterface全体がerr-disabledとなる。

CLI状態

Altn BLK              ← 正常な冗長Pathの可能性
BKN*  *ROOT_Inc      ← Root Guard
BKN*  *LOOP_Inc      ← Loop Guard

非Forwardingだから全部同じとは判断せず、Role / State / Statusを組み合わせる。

まとめ

守りたいTopology条件からRoot Guard / Loop Guard / BPDU Guardを選択し、Trigger・適用条件・Inconsistent / err-disabledのScope・Recoveryを分離して判断できるようにする。

理解確認

このページの内容を28問で確認します。

理解確認28問へ →