問題
複数のスイッチでFlexible NetFlowを使う。コレクターへの過剰なエクスポートを避け、フローが20秒間アイドルになったらエクスポートするmonitorの設定はどれか。
- A
flow record recordflow exporter flowexport record recordflow cache timeout active 120 cache timeout inactive 20 cache type immediate - B
flow monitor monitorflow exporter flowexport record recordflow cache timeout active 120 cache timeout inactive 20 cache type immediate - C
flow monitor monitorflow exporter recordflow cache timeout active 120 cache timeout inactive 20 cache type permanent - D
flow record recordflow match ipv6 destination ip-address match ipv6 source ip-address match ipv6 protocol-type view match interface input match interface output match transport destination-port collect counter bytes long - E
flow monitor monitorflow exporter flowexport record recordflow cache timeout active 120 cache timeout inactive 20 cache type normal
正解:E
理由
normalキャッシュのinactive 20で、最後の活動から20秒の非活動を条件にする。immediateでは生成直後にエージアウトし、指定したタイムアウトは作用しない。
選択肢ごとの説明
- A.
flow record recordflow exporter flowexport record recordflow cache timeout active 120 cache timeout inactive 20 cache type immediate flow recordのモードでmonitorのexporterやrecord、キャッシュを設定している。
- B.
flow monitor monitorflow exporter flowexport record recordflow cache timeout active 120 cache timeout inactive 20 cache type immediate immediateは生成直後にエージアウトするため、20秒の非活動を待つ要求に一致しない。
- C.
flow monitor monitorflow exporter recordflow cache timeout active 120 cache timeout inactive 20 cache type permanent recordの指定がなく、permanentも非活動で通常のキャッシュ削除を行う方式ではない。
- D.
flow record recordflow match ipv6 destination ip-address match ipv6 source ip-address match ipv6 protocol-type view match interface input match interface output match transport destination-port collect counter bytes long レコードの収集項目だけを定義し、monitorの非活動タイムアウトを設定していない。
- E.
flow monitor monitorflow exporter flowexport record recordflow cache timeout active 120 cache timeout inactive 20 cache type normal normalキャッシュでrecordとexporterを関連付け、inactive 20を適用する。