問題 ccnp-350-401-topic-1-question-752・第4版

問題

必要な事前設定が適用済みの構成で、次の全要件を満たす設定はどれか。hostnameとenableパスワードは変更せず、変更した全装置で構成をNVRAMへ保存する。

  1. SW01:SPANセッション20、送信元VLAN99、送信トラフィックのみ、送信先Ethernet0/1。
  2. R01:Ethernet0/2の送信トラフィックについてTop Talkersを50件、パケット数順、キャッシュ30秒。
  3. SW02:IP SLA10、ICMP宛先1.1.1.1、送信元172.16.2.2、間隔5秒、しきい値250ms、タイムアウト3000ms。直ちに開始して無期限に実行する。

監視対象の構成

  1. A 
    ! SW01
    enable
    configure terminal
    monitor session 20 source vlan 99 tx
    monitor session 20 destination interface Ethernet0/1
    end
    copy running-config startup-config
    ! R01
    enable
    configure terminal
    interface Ethernet0/2
     ip flow egress
    exit
    ip flow-top-talkers
     top 50
     sort-by packets
     cache-timeout 30000
     match output-interface Ethernet0/2
    exit
    end
    copy running-config startup-config
    ! SW02
    enable
    configure terminal
    ip sla 10
     icmp-echo 1.1.1.1 source-ip 172.16.2.2
     threshold 250
     timeout 3000
     frequency 5
    exit
    ip sla schedule 10 life forever start-time now
    end
    copy running-config startup-config
    
  2. B 
    ! SW01
    enable
    configure terminal
    monitor session 20 source vlan 99 rx
    monitor session 20 destination interface Ethernet0/1
    end
    copy running-config startup-config
    ! R01
    enable
    configure terminal
    interface Ethernet0/2
     ip flow egress
    exit
    ip flow-top-talkers
     top 50
     sort-by packets
     cache-timeout 30000
     match output-interface Ethernet0/2
    exit
    end
    copy running-config startup-config
    ! SW02
    enable
    configure terminal
    ip sla 10
     icmp-echo 1.1.1.1 source-ip 172.16.2.2
     threshold 250
     timeout 3000
     frequency 5
    exit
    ip sla schedule 10 life forever start-time now
    end
    copy running-config startup-config
    
  3. C 
    ! SW01
    enable
    configure terminal
    monitor session 20 source vlan 99 tx
    monitor session 20 destination interface Ethernet0/1
    end
    copy running-config startup-config
    ! R01
    enable
    configure terminal
    interface Ethernet0/2
     ip flow egress
    exit
    ip flow-top-talkers
     top 50
     sort-by packets
     cache-timeout 30
     match output-interface Ethernet0/2
    exit
    end
    copy running-config startup-config
    ! SW02
    enable
    configure terminal
    ip sla 10
     icmp-echo 1.1.1.1 source-ip 172.16.2.2
     threshold 250
     timeout 3000
     frequency 5
    exit
    ip sla schedule 10 life forever start-time now
    end
    copy running-config startup-config
    
  4. D 
    ! SW01
    enable
    configure terminal
    monitor session 20 source vlan 99 tx
    monitor session 20 destination interface Ethernet0/1
    end
    copy running-config startup-config
    ! R01
    enable
    configure terminal
    interface Ethernet0/2
     ip flow egress
    exit
    ip flow-top-talkers
     top 50
     sort-by packets
     cache-timeout 30000
     match output-interface Ethernet0/2
    exit
    end
    copy running-config startup-config
    ! SW02
    enable
    configure terminal
    ip sla 10
     icmp-echo 1.1.1.1 source-ip 172.16.2.2
     threshold 250
     timeout 3000
     frequency 5
    exit
    ip sla schedule 10 life forever
    end
    copy running-config startup-config
    

正解:A

理由

SPANのtxは送信方向である。Top Talkersのcache-timeoutはミリ秒なので30秒は30000とする。IP SLAは定義後にscheduleで開始時刻と無期限の実行を指定する。SPANの送信先となるEthernet0/1は通常のPo1転送には使われなくなる。

選択肢ごとの説明

A.
! SW01
enable
configure terminal
monitor session 20 source vlan 99 tx
monitor session 20 destination interface Ethernet0/1
end
copy running-config startup-config
! R01
enable
configure terminal
interface Ethernet0/2
 ip flow egress
exit
ip flow-top-talkers
 top 50
 sort-by packets
 cache-timeout 30000
 match output-interface Ethernet0/2
exit
end
copy running-config startup-config
! SW02
enable
configure terminal
ip sla 10
 icmp-echo 1.1.1.1 source-ip 172.16.2.2
 threshold 250
 timeout 3000
 frequency 5
exit
ip sla schedule 10 life forever start-time now
end
copy running-config startup-config

SPANの方向と全番号、E0/2の送信収集、Top Talkersの件数・順序・30秒、ICMPの全パラメーターと開始・保存を満たす。

B.
! SW01
enable
configure terminal
monitor session 20 source vlan 99 rx
monitor session 20 destination interface Ethernet0/1
end
copy running-config startup-config
! R01
enable
configure terminal
interface Ethernet0/2
 ip flow egress
exit
ip flow-top-talkers
 top 50
 sort-by packets
 cache-timeout 30000
 match output-interface Ethernet0/2
exit
end
copy running-config startup-config
! SW02
enable
configure terminal
ip sla 10
 icmp-echo 1.1.1.1 source-ip 172.16.2.2
 threshold 250
 timeout 3000
 frequency 5
exit
ip sla schedule 10 life forever start-time now
end
copy running-config startup-config

SPANを受信方向だけにしている。要求は送信トラフィックなのでtxが必要である。

C.
! SW01
enable
configure terminal
monitor session 20 source vlan 99 tx
monitor session 20 destination interface Ethernet0/1
end
copy running-config startup-config
! R01
enable
configure terminal
interface Ethernet0/2
 ip flow egress
exit
ip flow-top-talkers
 top 50
 sort-by packets
 cache-timeout 30
 match output-interface Ethernet0/2
exit
end
copy running-config startup-config
! SW02
enable
configure terminal
ip sla 10
 icmp-echo 1.1.1.1 source-ip 172.16.2.2
 threshold 250
 timeout 3000
 frequency 5
exit
ip sla schedule 10 life forever start-time now
end
copy running-config startup-config

cache-timeout 30は30ミリ秒である。30000を指定する。

D.
! SW01
enable
configure terminal
monitor session 20 source vlan 99 tx
monitor session 20 destination interface Ethernet0/1
end
copy running-config startup-config
! R01
enable
configure terminal
interface Ethernet0/2
 ip flow egress
exit
ip flow-top-talkers
 top 50
 sort-by packets
 cache-timeout 30000
 match output-interface Ethernet0/2
exit
end
copy running-config startup-config
! SW02
enable
configure terminal
ip sla 10
 icmp-echo 1.1.1.1 source-ip 172.16.2.2
 threshold 250
 timeout 3000
 frequency 5
exit
ip sla schedule 10 life forever
end
copy running-config startup-config

IP SLAの開始時刻を指定していない。start-time nowで直ちに開始する要求を満たさない。

お問い合わせ

演習する →