Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
The CCNA bank

3.4.d

The OSPF router ID

20 questions with the answer marked and the reasoning under it, and 1 lab and activities.

Labs and activities

  • Lab 77: Configuring the OSPF Router ID ManuallyLab14 min

Questions and answers

  1. 1. What are the two purposes of an OSPF router ID? (Choose two.)

    • to facilitate the establishment of network convergence
    • to uniquely identify the router within the OSPF domain(correct)
    • to facilitate the transition of the OSPF neighbor state to Full
    • to facilitate router participation in the election of the designated router(correct)
    • to enable the SPF algorithm to determine the lowest cost path to remote networks

    Unique ID in domain; used in DR/BDR election

  2. 2. What is the first criterion used by OPSF routers to elect a DR?

    • highest priority(correct)
    • highest IP address
    • highest router ID
    • highest MAC address

    Explanation: When electing a DR, the router with the highest OSPF priority becomes the DR. If all routers have the same priority, then the router with the highest router ID is elected.

  3. 3. Which criterion is preferred by the router to choose a router ID?

    • the IP address of the highest configured loopback interface on the router
    • the IP address of the highest active interface on the router
    • the router-id rid command(correct)
    • the IP address of the highest active OSPF-enabled interface

    Explicit router-id command takes precedence

  4. 4. Which command should be used to check the OSPF process ID, the router ID, networks the router is advertising, the neighbors the router is receiving updates from, and the default administrative distance?

    • show ip protocols(correct)
    • show ip ospf neighbor
    • show ip ospf
    • show ip ospf interface

    show ip protocols shows all listed items incl. AD

  5. 5. When a network engineer is configuring OSPFv3 on a router, which command would the engineer issue immediately before configuring the router ID?

    • ipv6 ospf 10 area 0
    • ipv6 router ospf 10(correct)
    • interface serial 0/0/1
    • clear ipv6 ospf process

    Router ID configured under ipv6 router ospf 10

  6. 6. A router with two LAN interfaces, two WAN interfaces, and one configured loopback interface is operating with OSPF as its routing protocol. What does the router OSPF process use to assign the router ID?

    • the highest IP address that is configured on the WAN interfaces
    • the IP address of the interface that is configured with priority 0
    • the highest IP address on the LAN interfaces
    • the OSPF area ID that is configured on the interface with the highest IP address
    • the loopback interface IP address(correct)

    With no router-id command, loopback address takes precedence.

  7. 7. How is the router ID for an OSPFv3 router determined?

    • the highest IPv6 address on an active interface
    • the lowest MAC address on an active interface
    • the highest IPv4 address on an active interface(correct)
    • the highest EUI-64 ID on an active interface

    OSPFv3 RID is a 32-bit value taken from highest IPv4 address if not configured.

  8. 8. An administrator attempts to change the router ID on a router that is running OSPFv3 by changing the IPv4 address on the router loopback interface. Once the IPv4 address is changed, the administrator notes that the router ID did not change. What two actions can the administrator take so that the router will use the new IPv4 address as the router ID? (Choose two.)

    • Shut down and re-enable the loopback interface.
    • Reboot the router.(correct)
    • Copy the running configuration to NVRAM.
    • Clear the IPv6 OSPF process.(correct)
    • Disable and re-enable IPv4 routing.

    Explanation: There are two methods that can be used to change the router ID of an OSPF router. The router can be rebooted or the OSPF process can be cleared. 70. Refer to the exhibit. Which would be chosen as the router ID of R2? 2001:DB8:CAFE:2::/64 LLA: FE80::2 2001:DB8:CAFE:A001::/64 The router ID has to be manually configured.

  9. 9. How is the router ID for an OSPFv3 router determined?

    • the highest IPv6 address on an active interface
    • the highest EUI-64 ID on an active interface
    • the highest IPv4 address on an active interface(correct)
    • the lowest MAC address on an active interface

    OSPFv3 RID is a 32-bit value taken from highest active IPv4 address if not set.

  10. 10. Which criterion is preferred by the router to choose a router ID?

    • the IP address of the highest configured loopback interface on the router
    • the IP address of the highest active interface on the router
    • the router-id rid command(correct)
    • that is used for the area of a network that is affected when a device or network service
    • experien
    • the IP address of the highest active OSPF-enabled interface

    Explanation: The preferred order of criteria for Cisco routers to identify the router ID is: an explicitly configured router using the router-id rid command; the IP address of any configured loopback interface; and the IP address of any active interface on the router (it does not have to be an OSPF-enabled interface).

  11. 11. A network administrator has just changed the router ID on a router that is working in an OSPFv2 environment. What should the administrator do to reset the adjacencies and use the new router ID?

    • Issue the clear ip ospf process privileged mode command.(correct)
    • Configure the network statements.
    • Change the interface priority.
    • Change the OSPFv2 process ID.

    Explanation: If the router ID has changed on a working router, the OSPFv2 process must be cleared for the new router ID to take effect.

  12. 12. What OSPF LSA type is used to inform routers of the router ID of the DR in each multiaccess network in an OSPF area?

    • type 3
    • type 2(correct)
    • type 1
    • type 4

    OSPF has many different LSA types. type 1 - contains a list of directly connected interfaces type 2 - only exists for multiaccess networks and includes DR router ID type 3 - used by ABRs to advertise networks from other areas type 4 - generated by ABRs to identify an ASBR and provide a route to it 8. Refer to the exhibit. Which two statements are correct? (Choose two.) To reach network 192.168.1.0, traffic will exit via the Serial0/0/0 interface.​ The entry for 172.16.200.1 represents a loopback interface. To reach network 172.16.2.0, traffic will travel through the GigabitEthernet0/0 interface. The routing table contains two intra-area routes. The routing table contains routes from multiple areas. The entry for 172.16.200.1 represents a local interface, not a loopback interface. There are two routes that are O IA, meaning that these are interarea routes. To reach network 172.16.2.0, traffic would exit via the Serial0/0/0 interface, not the GigabitEthernet0/0 interface. The routing table contains more than two intra-area routes. To reach network 192.168.1.0, traffic would exit via the Serial0/0/0 interface.

  13. 13. What OSPF LSA type is used to inform routers of the router ID of the DR in each multiaccess network in an OSPF area?

    • type 1
    • type 2(correct)
    • type 3
    • type 4

    Type 2 network LSA generated by DR

  14. 14. Which command should be used to check the OSPF process ID, the router ID, networks the router is advertising, the neighbors the router is receiving updates from, and the default administrative distance?

    • show ip ospf neighbor
    • show ip ospf
    • show ip protocols(correct)
    • show ip ospf interface

    The show ip ospf neighbor command is used to verify that the router has formed an adjacency with its neighboring routers. The show ip ospf command displays the OSPF process ID and router ID, the OSPF area information, as well as the last time the SPF algorithm was calculated. The show ip ospf interface command provides detailed information about every OSPF-enabled interface.

  15. 15. When a network engineer is configuring OSPFv3 on a router, which command would the engineer issue immediately before configuring the router ID?

    • clear ipv6 ospf process
    • interface serial 0/0/1
    • ipv6 router ospf 10(correct)
    • ipv6 ospf 10 area 0

    The OSPFv3 router ID is configured in the IPv6 router configuration mode. The clear ipv6 ospf process privileged EXEC command forces OSPF on the router to renegotiate neighbor adjacencies. The interface serial 0/0/1 command causes the router to enter interface configuration mode where OSPFv3 is enabled by issuing the ipv6 ospf process-id area area- id command.

  16. 16. What will an OSPF router prefer to use first as a router ID?

    • the highest active interface that participates in the routing process because of a
    • specifically configured network statement
    • the highest active interface IP that is configured on the router
    • any IP address that is configured using the router-id command(correct)
    • a loopback interface that is configured with the highest IP address on the router

    The first preference for an OSPF router ID is an explicitly configured 32-bit address. This address is not included in the routing table and is not defined by the network command. If a router ID that is configured through the router-id command is not available, OSPF routers next use the highest IP address available on a loopback interface, as loopbacks used as router IDs are also not routable addresses. Lacking either of these alternatives, an OSPF router will use the highest IP address from its active physical interfaces.

  17. 17. A network administrator has just changed the router ID on a router that is working in an OSPFv2 environment. What should the administrator do to reset the adjacencies and use the new router ID?

    • Configure the network statements.
    • Change the interface priority.
    • Issue the clear ip ospf process privileged mode command.(correct)
    • Change the OSPFv2 process ID.

    Explanation: If the router ID has changed on a working router, the OSPFv2 process must be cleared for the new router ID to take effect.

  18. 18. Which criterion is preferred by the router to choose a router ID?

    • the router-id rid command(correct)
    • the IP address of the highest configured loopback interface on the router
    • the IP address of the highest active interface on the router
    • the IP address of the highest active OSPF-enabled interface

    The preferred order of criteria for Cisco routers to identify the router ID is: an explicitly configured router using the router-id rid command; the IP address of any configured loopback interface; and the IP address of any active interface on the router (it does not have to be an OSPF-enabled interface).

  19. 19. Fill in the blank. OSPF uses _______ as a metric.Correct Answer: cost The OSPF metric is cost. The lowest cost path to a remote destination is the preferred path and is installed in the routing table. 7. What are the two purposes of an OSPF router ID? (Choose two.)

    • to enable the SPF algorithm to determine the lowest cost path to remote networks
    • to facilitate the establishment of network convergence
    • to uniquely identify the router within the OSPF domain(correct)
    • to facilitate router participation in the election of the designated router(correct)
    • to facilitate the transition of the OSPF neighbor state to Full

    OSPF router ID does not contribute to SPF algorithm calculations, nor does it facilitate the transition of the OSPF neighbor state to Full. Although the router ID is contained within OSPF messages when router adjacencies are being established, it has no bearing on the actual convergence process.

  20. 20. An OSPFv3 router has no IPv4 addresses configured and the router ID has not been manually set. What is the result of this configuration?

    • OSPFv3 will not start.(correct)
    • The highest IPv6 address of a loopback interface will be used as the router ID.
    • The highest IPv6 address of a physical interface will be used as the router ID.
    • The router will automatically generate a router ID using the MAC address of one of the
    • interfaces.

    OSPFv3 needs a 32-bit router ID; without IPv4 or manual RID it will not start