問題
N7K-2のEthernet2/10につながるWeb serverの通信を、ERSPANでN7K-1へ転送する。N7K-1の受信用IPは192.168.16.55で、Ethernet1/30.10がIP網へ、Ethernet1/5がNetwork Analyzer(10.10.11.1)へつながる。両装置はERSPANを扱えるM Series moduleを使用し、受信用IPへの経路と、Ethernet1/5のswitchport monitor設定は完了している。
N7K-2の設定は次のとおりである。N7K-1で複製フレームをAnalyzerへ出力する設定はどれか。
monitor session 1 type erspan-source
erspan-id 100
vrf default
destination ip 192.168.16.55
source interface ethernet 2/10
no shut
exit
monitor erspan origin ip-address 192.168.16.10 global
- A
monitor session 1 type erspan-destination source interface ethernet 1/30.10 destination interface ethernet 1/30 erspan-id 100 vrf default no shut - B
monitor session 1 type erspan-destination source vlan 10 destination interface ethernet 1/5 erspan-id 100 vrf default no shut - C
monitor session 1 type erspan-destination source interface ethernet 1/30 destination ip 10.10.11.1 erspan-id 100 vrf default no shut - D
monitor session 1 type erspan-destination source ip 192.168.16.55 destination interface ethernet 1/5 erspan-id 100 vrf default no shut
正解:D
理由
Nexus 7000のERSPAN destination sessionでは、source ipに受信装置自身のIPを指定する。この値は送信側sessionのdestination ipと同じ192.168.16.55になる。送信側のOrigin IPである192.168.16.10とは役割が異なる。複製フレームはdestination interfaceに指定したEthernet1/5からAnalyzerへ送る。
選択肢ごとの説明
- A.
monitor session 1 type erspan-destination source interface ethernet 1/30.10 destination interface ethernet 1/30 erspan-id 100 vrf default no shut ERSPAN destination sessionはsource ipで受信用IPを指定する。Ethernet1/30.10をsource interfaceにする構文ではなく、出力先Ethernet1/30もAnalyzerの接続ポートと異なる。
- B.
monitor session 1 type erspan-destination source vlan 10 destination interface ethernet 1/5 erspan-id 100 vrf default no shut 受信側はsource vlanでVLAN内の通信を複製する構成ではなく、source ipで受信用IPを指定する。出力先Ethernet1/5だけが一致しても受信設定を満たさない。
- C.
monitor session 1 type erspan-destination source interface ethernet 1/30 destination ip 10.10.11.1 erspan-id 100 vrf default no shut 受信側ではsource ipで受信用IPを指定し、destination interfaceでカプセル化を解除したフレームの出力ポートを選ぶ。AnalyzerのIPをdestination ipにするのはこのdestination sessionの設定ではない。
- D.
monitor session 1 type erspan-destination source ip 192.168.16.55 destination interface ethernet 1/5 erspan-id 100 vrf default no shut 受信側のsource ipは192.168.16.55とし、送信側のdestination ipへ対応させる。erspan-id 100とVRFをそろえ、カプセル化を解除したフレームをEthernet1/5へ出力する。