問題
次の構成で、Switch1のLinux1からの通信をSwitch2のLinux2へミラーするERSPANを構成している。Switch1のdestinationサブモードの空欄へ追加するコマンドはどれか。
Switch1#show ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet1 192.168.1.1 YES manual up up
GigabitEthernet2 172.16.40.10 YES manual administratively down down
Loopback0 172.16.10.10 YES manual up up
Switch2#show ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet1 192.168.1.2 YES manual up up
GigabitEthernet2 172.16.20.10 YES manual up up
Loopback0 10.10.10.10 YES manual up up
Switch1(config)#monitor session 1 type erspan-source
Switch1(config-mon-erspan-src)#source interface gigabitethernet1
Switch1(config-mon-erspan-src)#destination
Switch1(config-mon-erspan-src-dst)#erspan-id 110
Switch1(config-mon-erspan-src-dst)# [空欄]
Switch1(config-mon-erspan-src-dst)#origin ip address 172.16.10.10
Switch2(config)#monitor session 1 type erspan-destination
Switch2(config-mon-erspan-dst)#destination interface GigabitEthernet2
Switch2(config-mon-erspan-dst)#source
Switch2(config-mon-erspan-dst-src)#erspan-id 110
Switch2(config-mon-erspan-dst-src)#ip address 10.10.10.10

- A
(config-mon-erspan-src-dst)# no shut - B
(config-mon-erspan-src-dst)# traffic bidirectional - C
(config-mon-erspan-src-dst)# monitor session 1 activate - D
(config-mon-erspan-src-dst)# ip address 10.10.10.10
正解:D
理由
Switch1の送信セッションのdestinationでは、受信先Switch2のLoopback0である10.10.10.10を指定する。originの172.16.10.10は送信元IPであり、宛先とは異なる。
選択肢ごとの説明
- A.
(config-mon-erspan-src-dst)# no shut no shutはsessionの有効化に関係する。remoteへ送る宛先IPの指定とは別の設定である。
- B.
(config-mon-erspan-src-dst)# traffic bidirectional trafficの監視方向とremote destination IPの指定は別である。traffic bidirectionalという指定は、remoteへ送る宛先IPを設定する命令ではない。
- C.
(config-mon-erspan-src-dst)# monitor session 1 activate IOS XEのERSPAN構成はmonitor sessionとno shutdownで有効化する。
monitor session 1 activateこのsubmodeのこの指定はremote IPを指定する命令ではない。
- D.
(config-mon-erspan-src-dst)# ip address 10.10.10.10 送信側destination submodeで、図のremote Switch2 Loopback0の10.10.10.10を指定する。受信側のsource IP設定とはmodeが異なる。