問題 ccnp-350-401-topic-1-question-1023・第3版

問題

R1とSw1の監視設定を完成させる。必要な事前設定は適用済みである。課題に必要な変更以外の既存設定を削除せず、hostnameとenable passwordも変更しない。変更した両装置の構成をNVRAMへ保存する。次の3課題をすべて満たす設定はどれか。

  1. 既存のflow monitorを使い、R1のE0/0で受信・送信両方向のFlexible NetFlowを有効にする。
  2. Sw1のSPAN session12で、VLAN12の全トラフィックをE1/3へ複製する。
  3. R1からPC1へ、300秒ごとにIP SLAのICMP Echoを送る。
接続 アドレスとVLAN
R1 E0/0–Sw1 E0/0 R1は10.10.1.2/24、Sw1のVLAN10は10.10.1.1
Sw1 E0/1–PC1 VLAN12、PC1は10.12.1.2、Sw1のVLAN12は10.12.1.1
Sw1 E0/2–PC2 VLAN14、PC2は10.14.1.2、Sw1のVLAN14は10.14.1.1

構成

R1の構成(抜粋)

R1#sh run
Building configuration...

Current configuration : 1588 bytes
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180

R1構成1

no ip domain lookup
ip cef
no ipv6 cef
!
!
flow exporter Export-R1Flow
 destination 10.10.1.10
 source Loopback0
 transport udp 2055
!
!
flow monitor Monitor-R1Flow
 cache timeout inactive 30
!
multilink bundle-name authenticated
!
redundancy
!
interface Loopback0
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Ethernet0/0
 ip address 10.10.1.2 255.255.255.0
 ip ospf network point-to-point
 duplex auto
!
interface Ethernet0/1
 no ip address
 duplex auto
!
interface Ethernet0/2
 no ip address
 duplex auto
!
interface Ethernet0/3
 no ip address
 duplex auto
!
interface Ethernet1/0
 no ip address
 duplex auto
!
interface Ethernet1/1
 no ip address
 duplex auto
!
interface Ethernet1/2
 no ip address
 duplex auto
!
interface Ethernet1/3
 no ip address
 duplex auto
!

R1構成3

router ospf 10
 router-id 1.1.1.1
 network 1.1.1.1 0.0.0.0 area 0
 network 10.10.1.0 0.0.0.255 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
ipv6 ioam timestamp
!
control-plane
!
line con 0
 exec-timeout 0 0
 privilege level 15
 logging synchronous
line aux 0
line vty 0 4
 login
 transport input none
!
!
end

R1構成4

  1. A 
    ! R1
    configure terminal
    interface Ethernet0/0
     ip flow monitor Monitor-R1Flow input
     ip flow monitor Monitor-R1Flow output
    exit
    ip sla 1
     icmp-echo 10.12.1.2
     frequency 300
    exit
    ip sla schedule 1 life forever start-time now
    end
    copy running-config startup-config
    ! Sw1
    configure terminal
    monitor session 12 source vlan 12 both
    monitor session 12 destination interface Ethernet1/3
    end
    copy running-config startup-config
    
  2. B 
    ! R1
    configure terminal
    interface Ethernet0/0
     ip flow monitor Monitor-R1Flow input
    exit
    ip sla 1
     icmp-echo 10.12.1.2
     frequency 300
    exit
    ip sla schedule 1 life forever start-time now
    end
    copy running-config startup-config
    ! Sw1
    configure terminal
    monitor session 12 source vlan 12 both
    monitor session 12 destination interface Ethernet1/3
    end
    copy running-config startup-config
    
  3. C 
    ! R1
    configure terminal
    interface Ethernet0/0
     ip flow monitor Monitor-R1Flow input
     ip flow monitor Monitor-R1Flow output
    exit
    ip sla 1
     icmp-echo 10.12.1.2
     frequency 300
    exit
    ip sla schedule 1 life forever start-time now
    end
    copy running-config startup-config
    ! Sw1
    configure terminal
    monitor session 12 source vlan 10 both
    monitor session 12 destination interface Ethernet1/3
    end
    copy running-config startup-config
    
  4. D 
    ! R1
    configure terminal
    interface Ethernet0/0
     ip flow monitor Monitor-R1Flow input
     ip flow monitor Monitor-R1Flow output
    exit
    ip sla 1
     icmp-echo 10.12.1.2
     frequency 3000
    exit
    ip sla schedule 1 life forever start-time now
    end
    copy running-config startup-config
    ! Sw1
    configure terminal
    monitor session 12 source vlan 12 both
    monitor session 12 destination interface Ethernet1/3
    end
    copy running-config startup-config
    

正解:A

理由

既存のMonitor-R1FlowをE0/0のinputとoutputへ適用し、SPAN12のsource VLAN12と出力E1/3を対応させる。IP SLA1はPC1の10.12.1.2へ300秒間隔で送信するよう定義し、scheduleで開始する。両装置の構成を保存する。

選択肢ごとの説明

A.
! R1
configure terminal
interface Ethernet0/0
 ip flow monitor Monitor-R1Flow input
 ip flow monitor Monitor-R1Flow output
exit
ip sla 1
 icmp-echo 10.12.1.2
 frequency 300
exit
ip sla schedule 1 life forever start-time now
end
copy running-config startup-config
! Sw1
configure terminal
monitor session 12 source vlan 12 both
monitor session 12 destination interface Ethernet1/3
end
copy running-config startup-config

両方向の既存monitor適用、VLAN12の両方向複製、300秒周期のICMP Echoとschedule、両装置の構成保存を満たす。

B.
! R1
configure terminal
interface Ethernet0/0
 ip flow monitor Monitor-R1Flow input
exit
ip sla 1
 icmp-echo 10.12.1.2
 frequency 300
exit
ip sla schedule 1 life forever start-time now
end
copy running-config startup-config
! Sw1
configure terminal
monitor session 12 source vlan 12 both
monitor session 12 destination interface Ethernet1/3
end
copy running-config startup-config

Flexible NetFlowはinputだけに適用され、E0/0の送信方向が収集されない。

C.
! R1
configure terminal
interface Ethernet0/0
 ip flow monitor Monitor-R1Flow input
 ip flow monitor Monitor-R1Flow output
exit
ip sla 1
 icmp-echo 10.12.1.2
 frequency 300
exit
ip sla schedule 1 life forever start-time now
end
copy running-config startup-config
! Sw1
configure terminal
monitor session 12 source vlan 10 both
monitor session 12 destination interface Ethernet1/3
end
copy running-config startup-config

SPANのsourceがVLAN10になっており、監視するVLAN12を指定していない。

D.
! R1
configure terminal
interface Ethernet0/0
 ip flow monitor Monitor-R1Flow input
 ip flow monitor Monitor-R1Flow output
exit
ip sla 1
 icmp-echo 10.12.1.2
 frequency 3000
exit
ip sla schedule 1 life forever start-time now
end
copy running-config startup-config
! Sw1
configure terminal
monitor session 12 source vlan 12 both
monitor session 12 destination interface Ethernet1/3
end
copy running-config startup-config

IP SLAのfrequencyは秒である。3000秒では要求された300秒周期にならない。

お問い合わせ

演習する →