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

問題

3台のルーターで次の全課題を満たす構成はどれか。IPアドレス等の必要な事前設定は完了している。hostnameとenableパスワードは変更せず、構成をNVRAMへ保存する。

  1. router ospf配下のnetwork文を使わずOSPFを設定する。
  2. すべてのネットワークをルーター間で広告する。
  3. 各Ethernetインターフェースの1コマンドでDR/BDR選出をなくし、余計なホスト経路を生成しない。

process1・area0の3台構成

  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
    exit
    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
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf network point-to-point
    exit
    end
    copy running-config startup-config
    
    ! R3
    enable
    configure terminal
    interface Loopback0
    ip ospf 1 area 0
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf network point-to-point
    exit
    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
    exit
    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
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf network point-to-multipoint
    exit
    end
    copy running-config startup-config
    
    ! R3
    enable
    configure terminal
    interface Loopback0
    ip ospf 1 area 0
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf network point-to-multipoint
    exit
    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 priority 0
    exit
    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 priority 0
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf priority 0
    exit
    end
    copy running-config startup-config
    
    ! R3
    enable
    configure terminal
    interface Loopback0
    ip ospf 1 area 0
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf priority 0
    exit
    end
    copy running-config startup-config
    
  4. D 
    ! R1
    enable
    configure terminal
    interface Loopback0
    ip ospf 1 area 0
    exit
    interface Ethernet0/0
    ip ospf 1 area 0
    ip ospf network broadcast
    exit
    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
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf network broadcast
    exit
    end
    copy running-config startup-config
    
    ! R3
    enable
    configure terminal
    interface Loopback0
    ip ospf 1 area 0
    exit
    interface Ethernet0/1
    ip ospf 1 area 0
    ip ospf network broadcast
    exit
    end
    copy running-config startup-config
    

正解:A

理由

各インターフェースでOSPFを有効にする。

ip ospf 1 area 0

Ethernetには次の設定を適用する。

ip ospf network point-to-point

図のLoopbackは元から/32であり、その経路を余分なEthernet側ホスト経路と混同しない。

選択肢ごとの説明

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
exit
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
exit
interface Ethernet0/1
ip ospf 1 area 0
ip ospf network point-to-point
exit
end
copy running-config startup-config

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

全LoopbackとEthernetでprocess1・area0を有効にする。Ethernetをpoint-to-pointにすることでDR/BDRを選出せず、point-to-multipointの追加ホスト経路も生成しない。全装置の保存も含む。

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
exit
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
exit
interface Ethernet0/1
ip ospf 1 area 0
ip ospf network point-to-multipoint
exit
end
copy running-config startup-config

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

DR/BDRは選出しないが、point-to-multipointはネイバーへの追加ホスト経路を生成するため、3番目の課題を満たさない。

C.
! R1
enable
configure terminal
interface Loopback0
ip ospf 1 area 0
exit
interface Ethernet0/0
ip ospf 1 area 0
ip ospf priority 0
exit
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 priority 0
exit
interface Ethernet0/1
ip ospf 1 area 0
ip ospf priority 0
exit
end
copy running-config startup-config

! R3
enable
configure terminal
interface Loopback0
ip ospf 1 area 0
exit
interface Ethernet0/1
ip ospf 1 area 0
ip ospf priority 0
exit
end
copy running-config startup-config

全ルーターのpriorityを0にしてもネットワーク種別はbroadcastのままで、DR/BDRのない正常な隣接構成を作れない。point-to-pointへ変更する操作とは異なる。

D.
! R1
enable
configure terminal
interface Loopback0
ip ospf 1 area 0
exit
interface Ethernet0/0
ip ospf 1 area 0
ip ospf network broadcast
exit
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
exit
interface Ethernet0/1
ip ospf 1 area 0
ip ospf network broadcast
exit
end
copy running-config startup-config

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

broadcastはDR/BDR選出を行うため、3番目の課題に反する。

お問い合わせ

演習する →