Chapter 8: Quiz - OSPF (Answers) CCNPv8 ENCOR

CCNP Enterprise Routing & Switching Original source

1. What are two characteristics of OSPF areas? (Choose two.)

Explanation: OSPF is designed with a hierarchical architecture using the concept of areas. An area is a collection of connected networks and is identified with the network command. Area 0 is a special area known as the backbone. All other areas must connect to Area 0.

2. Which statement is true about OSPF DR and BDR elections?

Explanation: The default OSPF priority is value 1 but can be configured from 1 to 255. The router with the highest priority will win the OSPF DR election.

3. Which OSPF network type requires the election of a DR/BDR?

Explanation: OSPF routers elect a DR and a BDR on mutliaccess broadcast networks.

4. Which two Layer 2 multicast addresses are used for Layer 2 frames carrying OSPF messages? (Choose two.)

Explanation: 01:00:5E:00:00:05 is the multicast MAC address used to reach all OSPF routers and 01:00:5E:00:00:06 is the multicast MAC address used to reach OSPF DRs.

5. Which OSPF neighbor state indicates that bidirectional communication has been established prior to LSDB synchronization?

Explanation: When an OSPF interface has received Hello packets from another OSPF router, it transitions to the 2-Way state. LSDB synchronization does not begin until after the 2-Way state.

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?

Explanation: OSPF requires a unique router ID on each router. The router ID can be configured manually with the # router-id command. If this command is not issued, then the OSPF process will use the highest IPv4 address on an active interface as the router ID, with preference give to loopback interfaces.

7. Which IP protocol number is reserved for OSPF by the IANA?

Explanation: IP protocol numbers are found in the the Protocol field of the IPv4 header and the Next Header field of the IPv6 header. The protocol number for OSPF is 89

8. Refer to the exhibit. R1 is configured properly for a single area OSPF, and R2 has been recently installed in the network. Which set of commands is required to configure a single area OSPF for the networks that are connected to R2?

Explanation: To configure R2 for OSPF in area 0 first enable OSPF with the router ospf 1 command. Then apply OSPF to the serial and LAN interfaces with the network 192.168.2.0 0.0.0.255 area 0 and network 10.1.1.0 0.0.0.3 area 0 commands.

9. A network administrator is implementing OSPF in a portion of the network and must ensure that only specific routes are advertised via OSPF. Which network statement would configure the OSPF process for networks 192.168.4.0, 192.168.5.0, 192.168.6.0, and 192.168.7.0, now located in the backbone area, and inject them into the OSPF domain?

Explanation: The network 192.168.4.0 0.0.3.255 area 0 command has the correct network and wildcard mask combination to capture the four networks and activate the associated interfaces for area 0.

10. How does OSPF exchange routing updates when the passive-interface command is applied?

Explanation: When the passive-interface command is applied, the interface does not send out any OSPF hello messages nor will it process any received OSPF packets.

11. Refer to the exhibit. An administrator has entered the commands shown on R1. However, the default route is not propagating to other OSPF routers. What configuration would likely correct this problem?

Explanation: The default-information originate command is used to propagate a default route to OSPF neighbors.

12. What is the OSPF link cost of a Gigabit Ethernet interface if the reference bandwidth is configured as 10000 Mbps?

Explanation: The formula for calculating cost is Cost = Reference Bandwidth in Mbps/Interface Bandwidth in Mbps. So Cost = 10000/1000 or 10.

"Do I Know This Already?" Quiz Answers:

1. OSPF uses the protocol number ___________ for its inter-router communication.

Explanation: OSPF uses protocol number 89.

2. OSPF uses ___________ packet types for inter-router communication.

Explanation: OSPFv2 use five packet types for communication: hello, database description, link state request, link state update, and link state acknowledgment.

3. What destination addresses does OSPF use, when feasible? (Choose two.)

Explanation: OSPF uses the multicast IP address 224.0.0.5 or the MAC address 01:00:5e:00:00:05 for the AllSPFRouters group.

4. True or false: OSPF is only enabled on a router interface by using the command network ip-address wildcard-mask area area-id under the OSPF router process.

Explanation: OSPF can also be enabled with the interface parameter command ip ospf process-id area area-id.

5. True or false: The OSPF process ID must match for routers to establish a neighbor adjacency.

Explanation: The OSPF process ID is locally significant and is not required to match for neighbor adjacency.

6. True or false: A default route advertised with the command default informationoriginate in OSPF will always appear as an OSPF inter-area route.

Explanation: An OSPF advertised default route always appears as an external route.

7. True or false: The router with the highest IP address is the designated router when using a serial point-to-point link.

Explanation: Serial point-to-point links are automatically set as an OSPF point-to-point network type, which does not have a designated router.

8. OSPF automatically assigns a link cost to an interface based on a reference bandwidth of ___________.

Explanation: IOS XE uses a reference bandwidth of 100 Mbps for dynamic metric assignment to an interface.

9. What command is configured to prevent a router from becoming the designated router for a network segment?

Explanation: Setting the interface priority to 0 removes the interface from the DR election process.

10. What is the advertised network for the loopback interface with IP address 10.123.4.1/30?

Explanation: The loopback address is classified as an OSPF loopback interface type, which is always advertised as a /32 address, regardless of the subnet mask.

← All CCNP articles Home