問題 ccnp-350-401-topic-1-question-953-v-0c4a55ad・第3版

問題

複数のスイッチでFlexible NetFlowを使う。コレクターへの過剰なエクスポートを避け、フローが20秒間アイドルになったらエクスポートするmonitorの設定はどれか。

  1. A 
    flow record recordflow
    exporter flowexport
    record recordflow
    cache timeout active 120
    cache timeout inactive 20
    cache type immediate
    
  2. B 
    flow monitor monitorflow
    exporter flowexport
    record recordflow
    cache timeout active 120
    cache timeout inactive 20
    cache type immediate
    
  3. C 
    flow monitor monitorflow
    exporter recordflow
    cache timeout active 120
    cache timeout inactive 20
    cache type permanent
    
  4. 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
    
  5. 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を適用する。

お問い合わせ

演習する →