問題
R0、R1、R2が同じ10.1.1.0/24へ接続され、R0は10.1.1.1、R1のGigabitEthernet0/0は10.1.1.2、R2のGigabitEthernet0/0は10.1.1.3である。R1から10.1.1.1へのpingが失敗したら、R1のデフォルト経路を撤回したい。現在の設定を置き換える候補はどれか。
ip sla 2
icmp-echo 10.1.1.1
timeout 3000
threshold 1000
frequency 5
!
track 2 ip sla 200 reachability
delay down 30 up 180
!
ip route 0.0.0.0 0.0.0.0 10.1.1.1
- A
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! ip sla schedule 2 life forever start-time now ! track 2 ip sla 2 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 2 - B
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! ip sla schedule 2 life forever start-time now ! track 2 ip sla 200 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 - C
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! track 2 ip sla 2 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 2 - D
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! ip sla schedule 2 life forever start-time now ! track 2 ip sla 200 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 2 250
正解:A
理由
SLAの定義、実行開始、trackの参照先、静的経路のtrack指定をそろえる。
delay down 30 up 180
失敗30秒後のDownと復旧180秒後のUpを指定する。
選択肢ごとの説明
- A.
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! ip sla schedule 2 life forever start-time now ! track 2 ip sla 2 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 2 SLA2を開始し、その到達性をtrack2へ結び付け、経路の有効性もtrack2へ連動させる。
- B.
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! ip sla schedule 2 life forever start-time now ! track 2 ip sla 200 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track2はSLA200を参照し、静的経路にもtrack指定がない。
- C.
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! track 2 ip sla 2 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 2 SLA2を開始するscheduleがないため、プローブを動作させられない。
- D.
ip sla 2 icmp-echo 10.1.1.1 timeout 3000 threshold 1000 frequency 5 ! ip sla schedule 2 life forever start-time now ! track 2 ip sla 200 reachability delay down 30 up 180 ! ip route 0.0.0.0 0.0.0.0 10.1.1.1 track 2 250 track2が参照するのはSLA200であり、定義・開始しているSLA2の結果に連動していない。