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

問題

必要な事前設定が適用済みのR1とR2で、次の全要件を満たす設定はどれか。

  1. router ospf配下のnetwork文を使わず、両ルーター間ですべてのネットワークを広告する。
  2. 両側の隣接リンクへ同じ一つのコマンドを設定し、DR/BDR選出と余分なOSPFホスト経路の生成を避ける。
  3. hostnameとenableパスワードは変更せず、構成をNVRAMへ保存する。

OSPFプロセス1・area0の構成

  1. A 
    ! R1
    enable
    configure terminal
    interface Loopback0
     ip ospf 1 area 0
    exit
    interface Ethernet0/0
     ip ospf 1 area 0
     ip ospf network point-to-point
    end
    copy running-config startup-config
    ! R2
    enable
    configure terminal
    interface Loopback0
     ip ospf 1 area 0
    exit
    interface Ethernet0/0
     ip ospf 1 area 0
     ip ospf network point-to-point
    end
    copy running-config startup-config
    
  2. B 
    ! R1
    enable
    configure terminal
    interface Loopback0
     ip ospf 1 area 0
    exit
    interface Ethernet0/0
     ip ospf 1 area 0
     ip ospf network point-to-multipoint
    end
    copy running-config startup-config
    ! R2
    enable
    configure terminal
    interface Loopback0
     ip ospf 1 area 0
    exit
    interface Ethernet0/0
     ip ospf 1 area 0
     ip ospf network point-to-multipoint
    end
    copy running-config startup-config
    
  3. C 
    ! R1
    enable
    configure terminal
    interface Loopback0
     ip ospf 1 area 0
    exit
    interface Ethernet0/0
     ip ospf 1 area 0
     ip ospf network broadcast
    end
    copy running-config startup-config
    ! R2
    enable
    configure terminal
    interface Loopback0
     ip ospf 1 area 0
    exit
    interface Ethernet0/0
     ip ospf 1 area 0
     ip ospf network broadcast
    end
    copy running-config startup-config
    
  4. D 
    ! R1
    enable
    configure terminal
    router ospf 1
     network 192.168.0.0 0.0.0.255 area 0
     network 1.1.1.1 0.0.0.0 area 0
    exit
    interface Ethernet0/0
     ip ospf network point-to-point
    end
    copy running-config startup-config
    ! R2
    enable
    configure terminal
    router ospf 1
     network 192.168.0.0 0.0.0.255 area 0
     network 2.2.2.2 0.0.0.0 area 0
    exit
    interface Ethernet0/0
     ip ospf network point-to-point
    end
    copy running-config startup-config
    

正解:A

理由

Loopback0とEthernet0/0をそれぞれOSPFへ参加させる。

ip ospf 1 area 0

Ethernet0/0の両端には次の設定を適用する。

ip ospf network point-to-point

DR/BDRを選出せず、point-to-multipointに伴うインターフェースの/32ホスト経路も作らない。

選択肢ごとの説明

A.
! R1
enable
configure terminal
interface Loopback0
 ip ospf 1 area 0
exit
interface Ethernet0/0
 ip ospf 1 area 0
 ip ospf network point-to-point
end
copy running-config startup-config
! R2
enable
configure terminal
interface Loopback0
 ip ospf 1 area 0
exit
interface Ethernet0/0
 ip ospf 1 area 0
 ip ospf network point-to-point
end
copy running-config startup-config

全インターフェースをnetwork文なしで参加させ、両端をpoint-to-pointへそろえて保存する。

B.
! R1
enable
configure terminal
interface Loopback0
 ip ospf 1 area 0
exit
interface Ethernet0/0
 ip ospf 1 area 0
 ip ospf network point-to-multipoint
end
copy running-config startup-config
! R2
enable
configure terminal
interface Loopback0
 ip ospf 1 area 0
exit
interface Ethernet0/0
 ip ospf 1 area 0
 ip ospf network point-to-multipoint
end
copy running-config startup-config

DR/BDRは選出しないが、point-to-multipointはインターフェースのホスト経路を生成する。両方の要件を満たさない。

C.
! R1
enable
configure terminal
interface Loopback0
 ip ospf 1 area 0
exit
interface Ethernet0/0
 ip ospf 1 area 0
 ip ospf network broadcast
end
copy running-config startup-config
! R2
enable
configure terminal
interface Loopback0
 ip ospf 1 area 0
exit
interface Ethernet0/0
 ip ospf 1 area 0
 ip ospf network broadcast
end
copy running-config startup-config

broadcastではDR/BDR選出を行う。選出を避ける要求に合わない。

D.
! R1
enable
configure terminal
router ospf 1
 network 192.168.0.0 0.0.0.255 area 0
 network 1.1.1.1 0.0.0.0 area 0
exit
interface Ethernet0/0
 ip ospf network point-to-point
end
copy running-config startup-config
! R2
enable
configure terminal
router ospf 1
 network 192.168.0.0 0.0.0.255 area 0
 network 2.2.2.2 0.0.0.0 area 0
exit
interface Ethernet0/0
 ip ospf network point-to-point
end
copy running-config startup-config

経路の参加にrouter ospf配下のnetwork文を使っている。network文を使わない要求に反する。

お問い合わせ

演習する →