問題
vSphere上のAPMで、セキュリティ上の理由からvSwitchのpromiscuous modeを使えない。APMはGREでカプセル化された複製トラフィックを受信できる。ERSPAN対応のNexus 93108へ接続したロードバランサーの双方向トラフィックをAPMへ送る。
この例ではロードバランサーをEthernet1/9、APMの受信先を10.1.1.1とする。default VRFで到達でき、monitor erspan origin ip-address 10.0.0.1 globalは設定済みである。次の追加セッション設定のうち、要件を満たすものはどれか。
- A
interface vlan1 switchport monitor destination ip 10.1.1.1 exit monitor session 1 rx monitor session 1 tx source interface ethernet1/9 - B
monitor session 1 both source interface ethernet 1/9 destination interface ethernet 1/12 erspan-id 1 vrf mgmt0 filter vlan 3 no shut - C
configure terminal monitor session 1 type erspan-source erspan-id 1 destination ip 10.1.1.1 source interface ethernet 1/9 both vrf default no shut - D
interface ethernet 1/9 erspan-id 1 monitor session 1 type erspan-source interface mgmt0 monitor session 1 type erspan-destination destination ip 10.1.1.1 no shut
正解:C
理由
ERSPAN source sessionは、監視対象のトラフィックをGREでカプセル化して宛先IPへ転送する。source interfaceのbothは受信・送信の両方向を指定する。erspan-id、宛先IP、転送用VRFを設定してセッションを有効にする。
選択肢ごとの説明
- A.
interface vlan1 switchport monitor destination ip 10.1.1.1 exit monitor session 1 rx monitor session 1 tx source interface ethernet1/9 SVIのinterfaceモードへERSPANの宛先IPを設定する構成ではない。必要なERSPAN source sessionも作成していない。
- B.
monitor session 1 both source interface ethernet 1/9 destination interface ethernet 1/12 erspan-id 1 vrf mgmt0 filter vlan 3 no shut ERSPAN sourceとしてのセッション種別と宛先IPがなく、ローカルのdestination interfaceを指定している。この構成はAPMへGREで送る要件を満たさない。
- C.
configure terminal monitor session 1 type erspan-source erspan-id 1 destination ip 10.1.1.1 source interface ethernet 1/9 both vrf default no shut ERSPAN source sessionを作り、Ethernet1/9の両方向を10.1.1.1へ送る。事前設定のOrigin IPとdefault VRFを使い、no shutで有効にする。
- D.
interface ethernet 1/9 erspan-id 1 monitor session 1 type erspan-source interface mgmt0 monitor session 1 type erspan-destination destination ip 10.1.1.1 no shut sourceとdestinationのセッションを混在させ、interfaceモードへerspan-idを指定している。必要な送信元監視セッションを構成できない。