問題 ccna-200-301-topic-1-question-494・第5版

問題

R1のR2接続はFa0/0=10.100.1.1/24、R2は10.100.1.2/24でarea 0へ参加済みである。R1のほかのリンクではOSPFネイバーを作らず、R1をDR/BDR候補から外し、Router IDを10.1.1.1にする。既存OSPF設定がないR1へ適用する設定はどれか。

  1. A 
    router ospf 1
    router-id 10.1.1.1
    exit
    interface FastEthernet0/0
    ip ospf 1 area 0
    ip ospf priority 0
    
  2. B 
    router ospf 1
    router-id 10.1.1.1
    exit
    interface FastEthernet0/0
    ip ospf 1 area 0
    ip ospf priority 1
    
  3. C 
    router ospf 1
    router-id 10.1.1.2
    exit
    interface FastEthernet0/0
    ip ospf 1 area 0
    ip ospf priority 0
    
  4. D 
    router ospf 1
    ospf router-id 10.1.1.1
    exit
    interface FastEthernet0/0
    ip ospf 1 area 0
    ip ospf priority 0
    

正解:A

理由

OSPFをFa0/0だけで有効にし、router-id 10.1.1.1とinterface配下の次の設定を組み合わせる。

ip ospf priority 0

Priority 0はbroadcastでDR/BDR候補から外れる値である。

選択肢ごとの説明

A.
router ospf 1
router-id 10.1.1.1
exit
interface FastEthernet0/0
ip ospf 1 area 0
ip ospf priority 0

R2側だけでOSPFを有効にし、Router IDと候補除外priority 0を両方指定する。

B.
router ospf 1
router-id 10.1.1.1
exit
interface FastEthernet0/0
ip ospf 1 area 0
ip ospf priority 1

priority 1はDR/BDR候補になるので、選出へ参加しない条件を満たさない。

C.
router ospf 1
router-id 10.1.1.2
exit
interface FastEthernet0/0
ip ospf 1 area 0
ip ospf priority 0

Router IDが指定の10.1.1.1ではなく10.1.1.2である。

D.
router ospf 1
ospf router-id 10.1.1.1
exit
interface FastEthernet0/0
ip ospf 1 area 0
ip ospf priority 0

router ospf配下の識別子指定はrouter-idを使う。

参考資料

お問い合わせ

演習する →