問題
次のトランクとERSPANセッションの構成で、VLAN10、20、30を監視したい。3つのVLANを監視対象にするために必要な操作はどれか。
switch> enable
switch# configure terminal
switch(config)# interface GigabitEthernet 1/10
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan 10,20,30
switch(config-if)# exit
switch(config)# monitor session 1 type erspan-source
switch(config-mon-erspan-src)# description source1
switch(config-mon-erspan-src)# source vlan 10
switch(config-mon-erspan-src)# source vlan 20
switch(config-mon-erspan-src)# filter vlan 30
switch(config-mon-erspan-src)# destination
switch(config-mon-erspan-src-dst)# erspan-id 100
switch(config-mon-erspan-src-dst)# origin ip address 10.1.0.1
switch(config-mon-erspan-src-dst)# ip prec 5
switch(config-mon-erspan-src-dst)# ip ttl 32
switch(config-mon-erspan-src-dst)# mtu 1500
switch(config-mon-erspan-src-dst)# ip address 10.10.0.1
switch(config-mon-erspan-src-dst)# vrf 1
switch(config-mon-erspan-src-dst)# no shutdown
switch(config-mon-erspan-src-dst)# end

- A
Device(config-mon-erspan-src-dst)# no vrf 1
- B
Device(config-mon-erspan-src)# no filter vlan 30
- C
Device(config-mon-erspan-src-dst)# mtu 1460
- D
Device(config-mon-erspan-src-dst)# erspan-id 6
- E
Device(config)# monitor session 1 type erspan-source Device(config-mon-erspan-src)# no filter vlan 30 Device(config-mon-erspan-src)# source vlan 30
正解:E
理由
filterを外すだけではsource VLAN30が欠けたままである。source VLAN方式では、監視する3つのVLANをすべてsourceへ指定する。
選択肢ごとの説明
- A.
Device(config-mon-erspan-src-dst)# no vrf 1
宛先への経路を引くVRFを変更する操作であり、source VLAN30を追加しない。
- B.
Device(config-mon-erspan-src)# no filter vlan 30
filterとの併用は解消するが、source VLANは10と20のままで30の監視が不足する。
- C.
Device(config-mon-erspan-src-dst)# mtu 1460
複製パケットのサイズ上限へ関わる。監視対象のVLANを追加しない。
- D.
Device(config-mon-erspan-src-dst)# erspan-id 6
セッション識別値を変更しても、sourceとfilterの混在やVLAN30の不足は解消しない。
- E.
Device(config)# monitor session 1 type erspan-source Device(config-mon-erspan-src)# no filter vlan 30 Device(config-mon-erspan-src)# source vlan 30 source VLANと併用できないfilterを外し、既存の10・20に30を追加する。