問題
R1のERSPAN送信側は次の構成である。別の受信装置でミラーしたパケットをGigabitEthernet4へ出すセッションを構成する。組み合わせが正しい構成はどれか。各候補はグローバル設定モードから入力する。
R1(config)# monitor session 11 type erspan-source
R1(config-mon-erspan-src)# description SOURCE
R1(config-mon-erspan-src)# source interface GigabitEthernet3
R1(config-mon-erspan-src)# no shutdown
R1(config-mon-erspan-src)# destination
R1(config-mon-erspan-src-dst)# erspan-id 12
R1(config-mon-erspan-src-dst)# ip address 10.10.10.10
R1(config-mon-erspan-src-dst)# origin ip address 10.100.10.10
R1(config-mon-erspan-src-dst)# ip ttl 32
R1(config-mon-erspan-src-dst)# end
- A
monitor session 11 type erspan-destination destination interface GigabitEthernet4 source erspan-id 11 ip address 10.10.10.10 no shutdown end - B
monitor session 12 type erspan-destination destination interface GigabitEthernet4 source erspan-id 12 ip address 10.10.10.10 no shutdown end - C
monitor session 11 type erspan-destination destination interface GigabitEthernet4 source erspan-id 12 ip address 10.100.10.10 no shutdown end - D
monitor session 12 type erspan-destination destination interface GigabitEthernet4 source erspan-id 11 ip address 10.10.10.10 no shutdown end
正解:B
理由
装置内のmonitor session番号と、送受信で共有するerspan-idは異なる。受信側source配下のIPは、送信側destinationのIPと対応させる。
選択肢ごとの説明
- A.
monitor session 11 type erspan-destination destination interface GigabitEthernet4 source erspan-id 11 ip address 10.10.10.10 no shutdown end 受信IPは対応するが、erspan-id11が送信側12と一致しない。
- B.
monitor session 12 type erspan-destination destination interface GigabitEthernet4 source erspan-id 12 ip address 10.10.10.10 no shutdown end 送信側の宛先IPと同じ受信IPを指定し、erspan-id12も一致する。別装置のmonitor session番号は11と12でもよい。
- C.
monitor session 11 type erspan-destination destination interface GigabitEthernet4 source erspan-id 12 ip address 10.100.10.10 no shutdown end erspan-idは一致するが、受信IPへ送信側originを指定している。送信側が送る宛先10.10.10.10と一致しない。
- D.
monitor session 12 type erspan-destination destination interface GigabitEthernet4 source erspan-id 11 ip address 10.10.10.10 no shutdown end 受信IPとsession番号だけでは足りず、erspan-id11が送信側12と一致しない。