問題
ルーターのGig0/1で帯域使用率が高く、帯域を多く使うフローを特定したい。Cisco DNA CenterをNetFlowのcollectorとし、宛先IPv4アドレス192.168.23.1・UDPポート23000へ計測結果を送る。ルーターでフローの計測と出力を設定する構成はどれか。
- A
R1(config)# ip flow-export R1(config)# ip flow-export destination 192.168.23.1 23000 R1(config)# interface Gig0/1 R1(config-if)# ip flow monitor
- B
R1(config)# ip flow-export R1(config)# ip flow-export destination 192.168.23.1 R1(config)# interface Gig0/1 R1(config-if)# collect counter bytes R1(config-if)# collect counter packets
- C
R1(config)# ip flow-export version 9 R1(config)# ip flow-export destination 192.168.23.1 23000 R1(config)# interface Gig0/1 R1(config-if)# ip flow ingress R1(config-if)# ip flow egress
- D
R1(config)# ip flow-export version 9 R1(config)# ip flow-export destination 192.168.23.1 23000 R1(config)# interface Gig0/1 R1(config-if)# ip flow-top-talkers
正解:C
理由
従来型NetFlowでは、インターフェースの受信・送信計測と、collectorへの出力先・形式を設定する。Cはversion9、指定IPとUDPポート、Gig0/1の両方向計測を含む。
選択肢ごとの説明
- A.
R1(config)# ip flow-export R1(config)# ip flow-export destination 192.168.23.1 23000 R1(config)# interface Gig0/1 R1(config-if)# ip flow monitor
コマンド名・構文 作用・条件 ip flow monitorip flow-export単独は未完成で、この指定にも名前や方向がない。 Flexible NetFlowのrecord・exporter・monitorの定義も含まれない。
- B.
R1(config)# ip flow-export R1(config)# ip flow-export destination 192.168.23.1 R1(config)# interface Gig0/1 R1(config-if)# collect counter bytes R1(config-if)# collect counter packets
出力形式とUDPポートが不足し、collect counter bytes/packetsを置くモードも誤っている。これらはflow record内で扱う項目である。
- C.
R1(config)# ip flow-export version 9 R1(config)# ip flow-export destination 192.168.23.1 23000 R1(config)# interface Gig0/1 R1(config-if)# ip flow ingress R1(config-if)# ip flow egress
version9と指定の出力先192.168.23.1/23000を設定し、Gig0/1の受信・送信フローを計測する。
- D.
R1(config)# ip flow-export version 9 R1(config)# ip flow-export destination 192.168.23.1 23000 R1(config)# interface Gig0/1 R1(config-if)# ip flow-top-talkers
出力先は指定しているが、interface内のip flow-top-talkersは受信・送信の計測を有効にするコマンドではない。