IP Connectivity

493 questions

Question 341Question

A Cisco router contains the following partial output in its IPv4 routing table:

text
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
O 10.88.0.0/16 [110/20] via 192.168.1.1, 00:14:22, GigabitEthernet0/0/0
D 10.88.12.0/22 [90/30720] via 192.168.2.1, 01:45:10, GigabitEthernet0/0/1
S 10.88.14.0/24 [1/0] via 192.168.3.1, 04:12:00, GigabitEthernet0/0/2
O 10.88.14.32/28 [110/65] via 192.168.4.1, 00:05:30, GigabitEthernet0/0/3

When the router receives a packet with the destination IP address 10.88.14.45, which next-hop IP address and outgoing interface will it use to forward the packet?

Show answer & explanation

Answer: 192.168.4.1 via GigabitEthernet0/0/3

Answer

192.168.4.1 via GigabitEthernet0/0/3
The router uses the Longest Prefix Match rule to make forwarding decisions. Comparing all matching subnet masks (/16, /22, /24, and /28) for destination 10.88.14.45 shows that 10.88.14.32/28 provides the longest (most specific) prefix match. Therefore, the router forwards traffic to next-hop 192.168.4.1 out interface GigabitEthernet0/0/3, regardless of administrative distance or metric values.

Step-by-Step Solution

1
Evaluate all routes in the routing table to find matches for destination IP 10.88.14.45.
Four routes match the destination: 10.88.0.0/16, 10.88.12.0/22, 10.88.14.0/24, and 10.88.14.32/28.
The destination address 10.88.14.45 resides inside all four subnet boundaries.
2
Apply the Longest Prefix Match (LPM) rule by comparing prefix lengths of all matching routes.
The subnet 10.88.14.32/28 has a 28-bit mask, which is longer than /24, /22, and /16.
Routers always prefer the most specific route (longest subnet mask) first when making forwarding decisions.
3
Identify the next-hop IP and exit interface for the winning route 10.88.14.32/28.
The routing entry specifies 'via 192.168.4.1, GigabitEthernet0/0/3'.
Administrative distance and metric are only evaluated when comparing candidate routes with identical prefix lengths.

Key Concept

Longest Prefix Match (LPM) rule in Cisco IPv4 packet forwarding logic
Question 342Question

A network administrator must configure a static route on router R1 to reach the destination subnet 2001:db8:acad:10::/642001:\text{db8}:\text{acad}:10::/64. The administrator intends to use the link-local address fe80::2:1\text{fe80}::2:1 of the adjacent router as the next hop via R1's local exit interface GigabitEthernet0/0/1. Which Cisco IOS command accurately achieves this configuration?

Show answer & explanation

Answer: ipv6 route 2001:db8:acad:10::/64 GigabitEthernet0/0/1 fe80::2:1

Answer

The correct command is 'ipv6 route 2001:db8:acad:10::/64 GigabitEthernet0/0/1 fe80::2:1'.
The command specifying both the exit interface GigabitEthernet0/0/1 and the link-local address fe80::2:1 is correct. In Cisco IOS, whenever a link-local address is designated as the next hop, the local outbound interface MUST also be specified (creating a fully specified static route) because link-local addresses are only unique within the scope of a single link.

Step-by-Step Solution

1
Identify the basic command syntax for IPv6 static routing in Cisco IOS.
The general structure is 'ipv6 route <destination-prefix/prefix-length> {next-hop-address | exit-interface} [next-hop-address]'.
This establishes the order of arguments required by Cisco IOS.
2
Evaluate the requirement of using a link-local address (FE80::/10) as the next hop.
Link-local addresses are non-global and exist only on a single link. The router must know which physical/logical interface leads to that link-local address.
Without specifying the local exit interface, the router cannot resolve which egress interface connects to the specified link-local address.
3
Construct the fully specified IPv6 static route command.
Combine the destination network '2001:db8:acad:10::/64', the local exit interface 'GigabitEthernet0/0/1', and the next-hop link-local address 'fe80::2:1'.
This forms the complete and syntactically correct command 'ipv6 route 2001:db8:acad:10::/64 GigabitEthernet0/0/1 fe80::2:1'.

Key Concept

IPv6 Static Routing with Link-Local Next-Hop
Question 343Question

A network engineer is troubleshooting an OSPFv2 neighbor relationship between two routers, R1 and R2, connected via a direct GigabitEthernet0/0 interface. R1's interface is configured with an MTU of 1500 bytes. When issuing the command `show ip ospf interface gigabitethernet0/0` on R2, the engineer observes the following truncated output:

GigabitEthernet0/0 is up, line protocol is up
Internet Address 10.0.12.2/24, Area 0
Process ID 1, Router ID 10.0.12.2, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
IP MTU bytes 1400

When running `show ip ospf neighbor` on R1, the neighbor status for R2 is listed as `EXSTART/ -`. Which statement correctly identifies the root cause of this stuck neighbor state and the appropriate command to bypass this requirement on R2?

Show answer & explanation

Answer: The neighbor is stuck in EXSTART/EXCHANGE because Database Description (DBD) packets are dropped due to the MTU size mismatch; executing `ip ospf mtu-ignore` on R2's interface allows adjacency formation.

Answer

The neighbor relationship remains stuck in EXSTART/EXCHANGE because R2's IP MTU (1400 bytes) does not match R1's IP MTU (1500 bytes). When OSPF routers exchange Database Description (DBD) packets in EXSTART/EXCHANGE state, each router includes its interface MTU value. If a router receives a DBD packet specifying an MTU larger than its local interface MTU, the packet is ignored, keeping the adjacency stuck in EXSTART/EXCHANGE. Configuring `ip ospf mtu-ignore` under interface configuration mode on R2 (or both routers) disables the MTU comparison check and allows the OSPF adjacency to reach FULL state.
The correct answer identifies that an IP MTU mismatch between OSPF neighbors causes adjacencies to become stuck in the EXSTART or EXCHANGE state. OSPF routers include their interface IP MTU inside Database Description (DBD) packets. When R1 sends a DBD packet with MTU 1500 and R2 receives it with MTU configured to 1400, the packet validation fails, preventing Master/Slave exchange completion. Applying the `ip ospf mtu-ignore` command under interface configuration mode ignores the MTU mismatch check in DBD packets and resolves the issue.

Step-by-Step Solution

1
Analyze OSPF neighbor state symptoms from the scenario.
R1 sees neighbor R2 in the EXSTART/ - state.
Stuck in EXSTART state indicates successful Hello exchange and 2-Way communication, but failure during Master/Slave negotiation or Database Description (DBD) packet negotiation.
2
Compare interface IP MTU settings between R1 and R2.
R1 MTU is 1500 bytes while R2 CLI output shows `IP MTU bytes 1400`.
OSPF includes the interface IP MTU in the MTU field of DBD packets. An MTU mismatch causes the router with the smaller MTU (or the receiving router) to drop incoming DBD packets.
3
Select the appropriate Cisco IOS command to resolve an OSPF MTU mismatch.
Apply `ip ospf mtu-ignore` on the affected interface.
This command instructs OSPF to bypass checking the MTU field in incoming DBD packets, allowing neighbor adjacencies to transition to FULL state without altering the physical interface MTU.

Key Concept

OSPF Neighbor Adjacency States and MTU Mismatch Troubleshooting
Question 344Question

During a scheduled maintenance window, a network specialist examines the OSPFv2 operational status of interface GigabitEthernet0/1 on router R3 using the Cisco IOS CLI:

text
GigabitEthernet0/1 is up, line protocol is up
Internet Address 10.1.1.3/24, Area 0
Process ID 1, Router ID 192.168.100.1, Network Type BROADCAST, Cost: 1
State DROTHER, Priority 0
Designated Router (ID) 10.1.1.1, Interface address 10.1.1.1
Backup Designated Router (ID) 10.1.1.2, Interface address 10.1.1.2

If both the current Designated Router (10.1.1.1) and Backup Designated Router (10.1.1.2) suffer a simultaneous power failure, which role will router R3 assume on this multiaccess segment after the network re-converges?

Show answer & explanation

Answer: R3 will remain in the DROTHER state and will be ineligible to become either the DR or BDR.

Answer

R3 will remain in the DROTHER state and will be ineligible to become either the DR or BDR.
In OSPFv2 broadcast network types, setting an interface OSPF priority to 0 makes that interface permanently ineligible to become a Designated Router (DR) or Backup Designated Router (BDR). Even if all active DR/BDR routers fail, an interface configured with priority 0 remains in the DROTHER state and will never be promoted, regardless of how high its Router ID is.

Step-by-Step Solution

1
Analyze the CLI output for OSPF interface state and priority setting.
The CLI snippet displays 'State DROTHER, Priority 0' for interface GigabitEthernet0/1 on R3.
An OSPF interface priority value of 0 explicitly configured on an interface signifies that the router is disqualified from DR and BDR elections.
2
Evaluate the impact of active DR and BDR router failures on R3.
Even though both the DR and BDR fail, R3 cannot participate in the re-election due to its priority value of 0.
Router ID parameters (such as 192.168.100.1) are only evaluated among routers with an interface priority of 1 or higher.
3
Determine R3's final state post-convergence.
R3 remains a DROTHER router and forms adjacency only with the newly elected DR and BDR.
disqualification rule for priority 0 is absolute on broadcast multiaccess OSPF networks.

Key Concept

OSPFv2 DR/BDR Ineligibility via Priority 0
Question 345Question

Refer to the following partial IPv4 routing table output from a Cisco router:

text
Codes: C - connected, S - static, D - EIGRP, O - OSPF

Gateway of last resort is 10.88.0.1 to network 0.0.0.0

S* 0.0.0.0/0 [1/0] via 10.88.0.1
O 10.88.0.0/16 [110/20] via 10.88.1.1, GigabitEthernet0/0/1
D 10.88.15.0/24 [90/307200] via 10.88.2.1, GigabitEthernet0/0/2
O 10.88.15.192/27 [110/50] via 10.88.3.1, GigabitEthernet0/0/3

The router receives a unicast IPv4 packet addressed to destination host 10.88.15.200. Which next-hop IP address will the router use to forward this packet?

Show answer & explanation

Answer: 10.88.3.1

Answer

10.88.3.1
When a router receives a packet, it compares the destination IP address against all routing table entries. If multiple routes match, the router selects the route with the longest prefix length (most specific subnet mask). Here, 10.88.15.200 matches 0.0.0.0/0, 10.88.0.0/16, 10.88.15.0/24, and 10.88.15.192/27. The /27 prefix is the longest match, so the router forwards the packet to its next-hop address 10.88.3.1.

Step-by-Step Solution

1
Evaluate all matching routes for destination IP 10.88.15.200.
Matching entries found: 0.0.0.0/0, 10.88.0.0/16, 10.88.15.0/24, and 10.88.15.192/27.
10.88.15.200 falls within the range 10.88.15.192 to 10.88.15.223 defined by the /27 subnet mask.
2
Apply the Longest Prefix Match (LPM) rule.
The /27 prefix length is the longest (most specific) among all matching routes.
The router always prioritizes the most specific prefix match first. Administrative distance and metrics are only evaluated when comparing identical prefix lengths from different sources.
3
Identify the next-hop IP associated with the winning route 10.88.15.192/27.
Next-hop IP is 10.88.3.1.
The routing table entry points to 'via 10.88.3.1'.

Key Concept

Longest Prefix Match (LPM) rule in IPv4 routing lookup decision logic
Estimated Time:1m 30s
Question 346Question

An enterprise edge router R1 connects to two distinct Internet Service Providers via Ethernet interfaces. The network team requires primary outbound traffic to traverse ISP-1 via next-hop IPv4 address 203.0.113.1/30203.0.113.1/30 on interface GigabitEthernet0/0/1. A backup path must traverse ISP-2 via next-hop IPv4 address 198.51.100.1/30198.51.100.1/30 on interface GigabitEthernet0/0/2, taking effect only if the primary route fails.

Which two configuration statements or operational characteristics are correct for implementing this routing strategy?

Select all that apply

Show answer & explanation

Answer: Configuring `ip route 0.0.0.0 0.0.0.0 203.0.113.1` creates the primary default route with an implicit Administrative Distance of 11.; Configuring `ip route 0.0.0.0 0.0.0.0 198.51.100.1 130` establishes a floating static route that remains inactive in the routing table while the primary route is reachable.

Answer

The primary default static route is configured with `ip route 0.0.0.0 0.0.0.0 203.0.113.1` using the default Administrative Distance of 1, while the backup default route is configured with `ip route 0.0.0.0 0.0.0.0 198.51.100.1 130` with a higher Administrative Distance to serve as a floating backup.
The command defining the primary static route uses the standard `ip route 0.0.0.0 0.0.0.0 <next-hop>` syntax, which automatically assigns a default Administrative Distance of 1. The command setting the floating static backup specifies an Administrative Distance of 130, which is higher than the primary route's AD of 1, ensuring it is installed in the active forwarding table only when the primary path becomes unreachable.

Step-by-Step Solution

1
Analyze primary route configuration syntax and Administrative Distance default values.
The command `ip route 0.0.0.0 0.0.0.0 203.0.113.1` creates a default static route pointing to next-hop 203.0.113.1203.0.113.1. By default, IPv4 static routes have an Administrative Distance of 11.
Default static routes require an administrative distance lower than backup routes to be installed in the routing table first.
2
Evaluate requirements for a floating static route.
A floating static route must have its Administrative Distance manually configured to a value higher than the primary route (e.g., 130>1130 > 1).
Cisco IOS selects routes with the lowest Administrative Distance. Higher AD static routes remain in the running configuration but are hidden from the active IP routing table until the primary route drops.
3
Examine errors in alternative configuration choices.
Using an AD of 11 for the secondary route results in equal-cost routes rather than a backup. Specifying only an Ethernet exit interface without a next-hop IP forces the router to perform ARP requests for every internet destination address, requiring Proxy ARP on the ISP peer.
Ethernet is a multiaccess medium; without a next-hop IPv4 address specified, destination IP-to-MAC resolution relies on Proxy ARP.

Key Concept

IPv4 Default and Floating Static Route Configuration Mechanics
Question 347Question

A network administrator enables OSPFv2 on router R3 without manually configuring an OSPF router ID. The router has the following operational interfaces:

- Loopback0: 10.0.0.1/3210.0.0.1/32
- Loopback1: 172.16.1.1/32172.16.1.1/32
- GigabitEthernet0/0: 192.168.10.1/24192.168.10.1/24
- GigabitEthernet0/1: 192.168.20.1/24192.168.20.1/24

What IPv4 address will OSPFv2 select as the router ID for router R3?

Show answer & explanation

Answer: 172.16.1.1

Answer

172.16.1.1
OSPFv2 selects its Router ID using a specific three-step priority order: 1) Manually configured router ID using the router-id command, 2) The highest IPv4 address on any active loopback interface, 3) The highest IPv4 address on any active non-loopback (physical) interface. Since no manual ID is specified, OSPF checks the loopback interfaces. Loopback1 (172.16.1.1172.16.1.1) is numerically higher than Loopback0 (10.0.0.110.0.0.1) and takes precedence over physical interfaces (192.168.20.1192.168.20.1).

Step-by-Step Solution

1
Check for a manually configured router ID.
No explicit router-id command is configured.
Manual configuration takes precedence over all dynamic election rules.
2
Evaluate active loopback interfaces.
Loopback0 has IP address 10.0.0.1 and Loopback1 has IP address 172.16.1.1. Comparing them, 172.16.1.1 is the highest IP address.
When no manual router ID is specified, OSPF automatically selects the highest IPv4 address among all active loopback interfaces, preferring loopbacks over physical interfaces regardless of IP values.

Key Concept

OSPFv2 Router ID Selection Logic
Estimated Time:45s
Question 348Question

A network administrator executes the command `ip route 10.50.1.0 255.255.255.0 172.16.1.2 120` on a Cisco IOS router. What does the numeric value `120` at the end of this command represent?

Show answer & explanation

Answer: The administrative distance configured for the static route

Answer

The administrative distance configured for the static route
In Cisco IOS software, the standard syntax for configuring a static route is `ip route <prefix> <mask> {ip-address | exit-interface} [distance]`. When an optional integer value such as 120 is included at the end, it defines the administrative distance (AD) of the static route, overriding the default static route AD of 1.

Step-by-Step Solution

1
Analyze the Cisco IOS IPv4 static route syntax structure.
The standard syntax is `ip route <destination-prefix> <subnet-mask> {ip-address | exit-interface} [distance]`.
Identifying parameter placement clarifies the function of each element in the CLI command.
2
Evaluate the role of the trailing optional parameter.
The numeric value `120` occupies the `[distance]` argument position.
An optional integer specified after the next-hop IP or exit interface sets the administrative distance, commonly used to create a floating static route.

Key Concept

Cisco IOS IPv4 static route command syntax and Administrative Distance configuration
Question 349Question

An administrator inspects the IPv4 routing table on a Cisco router and observes the following partial output:

text
Codes: C - connected, S - static, D - EIGRP, O - OSPF, B - BGP

Gateway of last resort is not set

10.0.0.0/8 is variably subnetted, 4 subnets, 4 masks
O 10.200.0.0/16 [110/50] via 172.16.1.1, 00:24:12, GigabitEthernet0/1
D 10.200.64.0/18 [90/2172416] via 172.16.2.1, 02:15:04, GigabitEthernet0/2
S 10.200.64.0/24 [120/0] via 172.16.3.1, GigabitEthernet0/3
B 10.200.64.0/20 [20/100] via 172.16.4.1, 05:10:20, GigabitEthernet0/4

Which two statements accurately describe how the router will forward packets based on these routing table components? (Select two.)

Select all that apply

Show answer & explanation

Answer: Packets destined for 10.200.64.50 are forwarded out interface GigabitEthernet0/3 because the /24 prefix length represents the longest prefix match.; Packets destined for 10.200.70.15 are forwarded via next-hop 172.16.4.1 out interface GigabitEthernet0/4.

Answer

Packets destined for 10.200.64.50 are forwarded out GigabitEthernet0/3 due to the longest prefix match (/24), and packets destined for 10.200.70.15 are forwarded via next-hop 172.16.4.1 out GigabitEthernet0/4 because /20 is the most specific matching prefix.
A Cisco router forwards packets by comparing the destination IP address against the routing table using the Longest Prefix Match rule. For 10.200.64.50, the /24 entry offers the highest mask length among all matching routes, directing traffic out GigabitEthernet0/3. For 10.200.70.15, the host IP address falls within the 10.200.64.0/20 range (10.200.64.0 to 10.200.79.255), which is more specific than the /18 or /16 entries and excludes the /24 entry. Therefore, it uses the BGP route via 172.16.4.1.

Step-by-Step Solution

1
Determine the subnet ranges and prefix lengths for all candidate entries in the routing table snippet.
10.200.0.0/16 covers 10.200.0.0 - 10.200.255.255 (/16);
10.200.64.0/18 covers 10.200.64.0 - 10.200.127.255 (/18);
10.200.64.0/20 covers 10.200.64.0 - 10.200.79.255 (/20);
10.200.64.0/24 covers 10.200.64.0 - 10.200.64.255 (/24).
Routing decisions prioritize prefix length (specificity) over all other route parameters.
2
Evaluate destination IP address 10.200.64.50.
Matches /16, /18, /20, and /24 routes. The /24 static route is the longest match.
24 bits is greater than 20, 18, and 16 bits. Administrative distance (120 vs 90) is irrelevant across different prefix lengths.
3
Evaluate destination IP address 10.200.70.15.
Matches /16, /18, and /20 routes, but falls outside the /24 subnet. The /20 BGP route is the longest matching route.
70 is within the range 64-79 (/20), but outside 64.0-64.255 (/24). The next-hop is 172.16.4.1 via GigabitEthernet0/4.

Key Concept

Longest Prefix Match Forwarding Logic
Question 350Question

Arrange the criteria used by OSPFv2 to determine Designated Router (DR) election precedence in order from highest precedence (evaluated first) to lowest precedence (evaluated last).

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct sequence from highest to lowest precedence is: Highest OSPF interface priority, followed by Highest explicitly configured OSPF router ID, then Highest IPv4 address on an active loopback interface, and finally Highest IPv4 address on an active physical interface.
OSPFv2 DR/BDR election process evaluates interface priority first. If priorities are equal, it breaks ties using the Router ID, which is selected in the following order of precedence: (1) explicitly configured router ID command, (2) highest IP address on an active loopback interface, and (3) highest IP address on an active physical interface.

Step-by-Step Solution

1
Evaluate the primary election criteria: OSPF Interface Priority
The router with the highest configured OSPF interface priority (1-255) is elected DR. Priority 0 disqualifies a router entirely.
Interface priority provides explicit administrative control over DR/BDR election.
2
Evaluate explicit Router ID configuration
If interface priorities are equal (the default is 1), OSPF uses the Router ID as a tie-breaker, checking for a manually configured 'router-id' first.
Explicit configuration takes precedence over dynamically selected interface IP addresses.
3
Evaluate active loopback interfaces
If no explicit router ID is configured, OSPF selects the highest IPv4 address among all active logical (loopback) interfaces.
Loopback interfaces are preferred over physical interfaces because they are stable and do not go down due to physical line failures.
4
Evaluate active physical interfaces
If no loopback interfaces are configured, OSPF defaults to selecting the highest IPv4 address configured on any up/up physical interface.
Physical interface IP addresses serve as the final tie-breaking mechanism.

Key Concept

OSPFv2 DR/BDR Election Precedence Rules
Question 351Question

A network engineer changes the OSPFv2 network type on a GigabitEthernet interface linking two Cisco routers from the default Broadcast type to Point-to-Point using the interface subcommand `ip ospf network point-to-point`.

Which two operational changes occur on this interface as a direct result of this modification? (Choose two.)

Select all that apply

Show answer & explanation

Answer: OSPF bypasses Designated Router (DR) and Backup Designated Router (BDR) elections on the interface segment.; The interface switches from 224.0.0.6 to exclusively using 224.0.0.5 for all OSPF multicast communication.

Answer

The two correct statements are that OSPF bypasses DR/BDR elections on the interface segment, and all OSPF multicast communication uses 224.0.0.5 instead of 224.0.0.6.
Configuring `ip ospf network point-to-point` on an Ethernet interface alters OSPF behavior so that DR/BDR elections are completely bypassed. Additionally, because there is no DR or BDR to listen on 224.0.0.6, all OSPF traffic on the link is directed to the All-OSPF-Routers multicast address 224.0.0.5.

Step-by-Step Solution

1
Analyze DR/BDR election requirements for OSPF network types
Broadcast networks elect a DR and BDR to reduce adjacency overhead on multiaccess media. Point-to-Point networks connect exactly two routers, eliminating the need for DR/BDR roles.
On point-to-point links, routers establish a direct FULL adjacency with each other without intermediate election logic.
2
Evaluate multicast address usage across OSPF roles
On multiaccess broadcast networks, DROther routers send Link State Updates to 224.0.0.6 (AllDRouters), and the DR floods updates to 224.0.0.5 (AllSPFRouters). On Point-to-Point networks without a DR, all OSPF packets (Hellos, LSU, LSAck) are sent directly to 224.0.0.5.
Since 224.0.0.6 is reserved exclusively for communicating with Designated Routers, it is not used on point-to-point interfaces.
3
Verify timer and neighbor discovery behaviors for Point-to-Point media
Point-to-Point interfaces maintain 10-second Hello and 40-second Dead default timers (same as Broadcast) and continue using multicast for dynamic neighbor discovery.
Longer 30-second timers and manual static neighbor commands are characteristics of Non-Broadcast Multi-Access (NBMA) networks, not Point-to-Point networks.

Key Concept

OSPFv2 Network Types and DR/BDR Selection Traits
Estimated Time:2m 0s
Question 352Question

An enterprise network engineer adds a new router, Core-GW3, to an existing OSPFv2 broadcast multiaccess Ethernet segment (172.16.10.0/24172.16.10.0/24) where Router-A (Router ID 1.1.1.11.1.1.1, Priority 100100) is currently acting as the Designated Router (DR) and Router-B (Router ID 2.2.2.22.2.2.2, Priority 100100) is acting as the Backup Designated Router (BDR).

The engineer issues the following command on Core-GW3:

text
Core-GW3# show ip ospf interface GigabitEthernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 172.16.10.3/24, Area 0
Process ID 1, Router ID 10.10.10.10, Network Type BROADCAST, Cost: 1
Enabled by interface configuration option
Transmit Delay is 1 sec, State DROTHER, Priority 0
Designated Router (ID) 1.1.1.1, Interface address 172.16.10.1
Backup Designated Router (ID) 2.2.2.2, Interface address 172.16.10.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

If Router-A (the active DR) suddenly experiences a hardware failure and reboots, which role will Core-GW3 assume on this segment?

Show answer & explanation

Answer: Core-GW3 will remain in the DROTHER state and will not be elected as DR or BDR regardless of failures on the network.

Answer

Core-GW3 will remain in the DROTHER state and will not be elected as DR or BDR regardless of failures on the network.
In OSPFv2 broadcast networks, the DR and BDR elections are determined first by the highest interface priority (default is 1, range is 0 to 255). A router interface configured with an OSPF priority of 0 is explicitly rendered ineligible to become either a DR or a BDR. Even if the current DR fails and even if Core-GW3 possesses the highest Router ID on the subnet (10.10.10.1010.10.10.10), its priority of 0 forces it to remain in the DROTHER state permanently.

Step-by-Step Solution

1
Examine the output of the command 'show ip ospf interface GigabitEthernet0/0'.
Identify that Core-GW3 has an OSPF interface priority of 0 ('Priority 0') and a Router ID of 10.10.10.10.
OSPF DR/BDR elections evaluate interface priority values before looking at Router IDs.
2
Apply the OSPF DR/BDR election priority rules.
Determine that an interface priority value of 0 explicitly disqualifies a router from participating in DR/BDR elections.
Setting 'ip ospf priority 0' configures the router to remain permanently as a DROTHER on broadcast and non-broadcast multiaccess networks.
3
Evaluate the network event (failure of Router-A).
Router-B (the existing BDR) will be promoted to DR. A new BDR will be elected from eligible DROTHER routers with priority > 0. Core-GW3 remains DROTHER.
Core-GW3 cannot participate in the election for the replacement BDR despite having a high Router ID.

Key Concept

OSPF DR/BDR Election Ineligibility with Priority 0
Question 353Question

An engineer needs to configure two IPv6 static routes on a Cisco IOS router:
1. A static route to reach the remote network 2001:db8:3c0d:1::/642001:\text{db8}:3\text{c0d}:1::/64 using the link-local address fe80::1\text{fe80}::1 of the adjacent router connected via interface GigabitEthernet0/0/1\text{GigabitEthernet0/0/1}.
2. A backup (floating) default static route via the global unicast next-hop address 2001:db8:acad:f::12001:\text{db8}:\text{acad}:\text{f}::1 with an Administrative Distance of 130130.

Which TWO IPv6 static route commands correctly fulfill these requirements?

Select all that apply

Show answer & explanation

Answer: ipv6 route 2001:db8:3c0d:1::/64 GigabitEthernet0/0/1 fe80::1; ipv6 route ::/0 2001:db8:acad:f::1 130

Answer

The two correct command statements are 'ipv6 route 2001:db8:3c0d:1::/64 GigabitEthernet0/0/1 fe80::1' and 'ipv6 route ::/0 2001:db8:acad:f::1 130'.
The correct command for the specific subnet prefix using a link-local address explicitly provides both the exit interface and the link-local address. The correct backup default route uses '::/0' with an administrative distance of 130, ensuring it functions as a floating static route.

Step-by-Step Solution

1
Analyze link-local next-hop syntax requirements
Link-local addresses (fe80::/10) are non-routable outside the local link. Therefore, Cisco IOS requires the exit interface parameter when using a link-local next-hop (e.g., 'GigabitEthernet0/0/1 fe80::1').
Without the exit interface, the router cannot determine which outgoing interface leads to that link-local neighbor.
2
Identify default route prefix and floating static AD requirements
The IPv6 default route prefix is '::/0'. To make it floating/backup, its administrative distance must be set higher than the primary routing source (in this case, 130).
An AD of 130 ensures the route remains inactive in the routing table until primary routes with lower AD values fail.

Key Concept

IPv6 Static Route Syntax & Link-Local Next-Hop Requirements
Question 354Question

Match each OSPFv2 network type or interface state on the left with its correct DR/BDR election requirement and default timer characteristics on the right.

Click a left item, then click its matching right item

Items

Broadcast Multiaccess interface with default interface settings
Point-to-Point interface over a serial link running HDLC
Ethernet interface configured with the command `ip ospf priority 0`
Point-to-Multipoint interface environment

Matches

Show answer & explanation

Answer

Broadcast Multiaccess maps to electing DR/BDR with 10s/40s timers; Point-to-Point maps to no DR/BDR with 10s/40s timers; Interface priority 0 maps to election ineligibility (DROTHER); Point-to-Multipoint maps to no DR/BDR with 30s/120s timers.
Each OSPF interface network type specifies whether DR/BDR elections are held and sets default Hello/Dead timers. Broadcast Ethernet networks elect DR/BDR with 10s/40s timers. Point-to-Point links bypass DR/BDR elections with 10s/40s timers. Setting priority to 0 on a broadcast interface retains standard timers but prevents DR/BDR election. Point-to-Multipoint skips DR/BDR elections and uses 30s/120s default timers.

Step-by-Step Solution

1
Analyze OSPF election requirements per network type
Broadcast networks elect DR/BDR; Point-to-Point and Point-to-Multipoint networks do not elect DR/BDR.
DR/BDR election is only required on multiaccess media (Broadcast and Non-Broadcast) to reduce link-state packet duplication.
2
Determine interface priority impact
Setting priority to 0 makes a router ineligible to become DR or BDR regardless of router ID.
OSPF interface priority ranges from 0 to 255, where 0 explicitly prevents candidacy.
3
Evaluate default Hello and Dead timers for each network type
Broadcast and Point-to-Point default to 10s/40s, while Point-to-Multipoint defaults to 30s/120s.
Non-broadcast and point-to-multipoint OSPF network types assume slower WAN links and use 30-second Hello / 120-second Dead timer defaults.

Key Concept

OSPFv2 DR/BDR election rules and default timer intervals vary according to the interface network type and priority setting.
Question 355Question

A network engineer is configuring OSPFv2 between two Cisco routers connected over an Ethernet link. Which TWO parameters must match between the routers for an OSPFv2 neighbor adjacency to form successfully? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: OSPF Area ID; Hello and Dead timer intervals

Answer

The OSPF Area ID and the Hello and Dead timer intervals must match between the connecting router interfaces.
For two OSPFv2 routers to establish an adjacency, several key Hello packet parameters must match identically: the Area ID, Hello and Dead timers, IP subnet mask, and authentication credentials. If the Area ID or timer values differ, the routers will remain unable to form a neighbor relationship.

Step-by-Step Solution

1
Analyze OSPF Hello packet requirements for neighbor discovery
Identify parameters that are checked in received Hello packets before forming an adjacency.
OSPF routers inspect specific fields in incoming Hello packets to ensure network compatibility.
2
Evaluate mandatory matching parameters
Area ID, Hello/Dead timers, Subnet Mask, and Authentication parameters must match across the link.
Mismatches in Area ID or timers cause the routers to ignore or drop Hello packets from each other.
3
Evaluate non-matching or unique parameters
OSPF Process ID is local to the device and does not need to match. OSPF Router ID must be unique across routers.
Process ID is only used internally by IOS to distinguish OSPF instances, and duplicate Router IDs cause routing instability.

Key Concept

OSPFv2 Neighbor Adjacency Requirements
Estimated Time:1m 0s
Question 356Question

A Cisco router receives an IPv4 unicast packet and must select the best path from its routing table to forward the traffic. Arrange the steps in the correct sequential order that the router follows to evaluate candidate routes and make a forwarding decision.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct order of steps in router forwarding decision logic is: 1) Identify candidate routes that match the destination IP, 2) Select the route with the longest prefix match, 3) Compare Administrative Distance if equal-length prefix ties exist between different routing sources, and 4) Compare route metrics if equal-length prefix ties exist within the same routing protocol.
The forwarding engine follows a strict evaluation hierarchy: first, matching candidate routes are identified; second, Longest Prefix Match (LPM) filters for the most specific subnet mask; third, Administrative Distance breaks ties between routes of equal prefix length from different protocols; fourth, metric breaks ties between routes of equal prefix length from the same protocol.

Step-by-Step Solution

1
Identify matching candidate routes
A set of candidate routing table entries whose subnet masks encompass the packet's destination IPv4 address is compiled.
The router must locate all possible valid routes for the target destination before applying selection logic.
2
Apply Longest Prefix Match (LPM)
The candidate route with the longest prefix length (most specific mask) is selected.
LPM is the fundamental decision rule in IPv4/IPv6 packet forwarding. Prefix specificity overrides Administrative Distance and metric entirely.
3
Evaluate Administrative Distance (AD)
If multiple routes have identical prefix lengths from different sources, the route with the lower AD value (e.g., static AD 1 vs OSPF AD 110) is chosen.
AD acts as a tie-breaker between different route origins when prefix lengths are equal.
4
Evaluate Route Metric
If multiple routes have identical prefix lengths from the same protocol, the path with the lowest metric is selected (or load-balanced if equal).
Metrics are protocol-specific cost values used to determine the best path among routes learned via the same routing protocol.

Key Concept

Router Forwarding Decision Hierarchy (LPM > AD > Metric)
Estimated Time:1m 30s
Question 357Question

An engineer initializes OSPFv2 process 10 on a Cisco router. At initialization, the router has active interfaces Loopback0 (IP address 10.10.10.10/3210.10.10.10/32) and GigabitEthernet0/0 (IP address 192.168.1.1/24192.168.1.1/24). No manual router ID is configured initially. Shortly after OSPF forms adjacencies, the engineer configures interface Loopback1 with IP address 172.16.50.1/32172.16.50.1/32 (up/up) and then executes the `router-id 1.1.1.1` command under the `router ospf 10` configuration prompt. Assuming the command `clear ip ospf process` has NOT been executed and the router has NOT been reloaded, what IP address is currently used as the active OSPF router ID?

Show answer & explanation

Answer: 10.10.10.10

Answer

10.10.10.10
The active OSPF Router ID remains 10.10.10.10 because OSPF Router ID selection is non-preemptive. Upon initial process startup without a manual router ID, the router selected the highest IP address among operational loopback interfaces (10.10.10.10). Subsequent configuration changes—such as adding a loopback with a higher IP address or configuring the `router-id 1.1.1.1` command—do not alter the running OSPF Router ID until the OSPF process is restarted with `clear ip ospf process` or the router is reloaded.

Step-by-Step Solution

1
Determine initial OSPF Router ID election
Since no manual router ID was configured at initialization, OSPF selected the highest IP address among active loopback interfaces, which was 10.10.10.10.
OSPF election order evaluates explicit manual router-id configuration first, followed by active loopback interface IPs, and finally active physical interface IPs.
2
Evaluate the effect of adding a new loopback interface
Adding Loopback1 with IP 172.16.50.1 does not alter the active OSPF Router ID.
OSPF Router ID selection is non-preemptive; once an OSPF process selects a router ID, it does not change dynamically when new interfaces come online.
3
Evaluate the effect of executing the manual `router-id 1.1.1.1` command without restarting the OSPF process
The active OSPF Router ID remains 10.10.10.10.
In Cisco IOS/IOS-XE, manually modifying the OSPF router ID takes effect only after the OSPF process is reset using `clear ip ospf process` or the router is reloaded.

Key Concept

OSPFv2 Router ID Non-Preemptive Election and Modification Behavior
Estimated Time:2m 0s
Question 358Question

A Cisco router receives an IPv4 packet destined for a remote subnet. Place the operational steps performed by the router to evaluate IPv4 static routes and forward the packet into the correct sequential order from first to last.

Drag items to arrange them in the correct order

Show answer & explanation

Answer

The correct sequence of operations is: (1) Extract and inspect the destination IPv4 address from the incoming packet header, (2) Search the routing table for matching static routes and identify the candidate entry with the longest prefix match, (3) Evaluate Administrative Distance if multiple static routes exist for the identical network prefix, and (4) Encapsulate the packet into a Layer 2 frame and transmit it out the resolved exit interface toward the next hop.
When an IPv4 packet arrives on a Cisco router interface, the router inspects the destination IP address in the packet header. It then searches the routing table to find all matching network prefixes, selecting the entry with the longest prefix match (most specific mask). If there are multiple static routes configured for the exact same prefix length, the router breaks the tie by choosing the route with the lowest Administrative Distance. Finally, the router determines the exit interface/next-hop IP, rewrites the Layer 2 frame, and transmits the packet.

Step-by-Step Solution

1
Packet Ingress & Header Inspection
The destination IPv4 address is read from the packet.
The router requires the target destination address to perform a routing table lookup.
2
Longest Prefix Match Selection
The routing table entry with the longest subnet mask matching the destination IP is selected.
Cisco IOS router forwarding logic prioritizes the most specific prefix match over less specific routes.
3
Administrative Distance Tie-Breaking
If multiple static routes exist for the exact same prefix, the route with the lowest Administrative Distance is used.
Administrative Distance ranks route believability when multiple routes exist for identical destination prefixes.
4
Layer 2 Encapsulation and Forwarding
The packet is encapsulated into the outbound Layer 2 frame format and sent out the exit interface.
Final forwarding requires rewriting Layer 2 headers for the outbound physical or logical link.

Key Concept

IPv4 Static Route Lookup and Forwarding Decision Logic
Question 359Question

A network administrator configures OSPFv2 process 1 on router R4 without manually specifying an OSPF router ID. Prior to starting the OSPF process, R4 has the following operational interface statuses and IPv4 addresses:

- Loopback 0: 10.200.1.1/24 (Administratively Down, Line Protocol Down)
- Loopback 1: 172.16.5.1/24 (Up, Line Protocol Up)
- Loopback 2: 172.16.20.1/24 (Up, Line Protocol Up)
- GigabitEthernet 0/0: 192.168.1.254/24 (Up, Line Protocol Up)

What IPv4 address will R4 select as its OSPF Router ID?

Show answer & explanation

Answer: 172.16.20.1

Answer

172.16.20.1
When OSPFv2 initializes without a manually configured router ID, it selects the highest IPv4 address among operational (up/up) loopback interfaces. Loopback 0 is ignored because it is administratively down. Between the remaining active loopback interfaces, 172.16.20.1 on Loopback 2 is higher than 172.16.5.1 on Loopback 1. Active loopbacks take absolute precedence over physical interfaces, so GigabitEthernet 0/0 is not evaluated.

Step-by-Step Solution

1
Check for manual router-id configuration
No explicit router-id command is configured under OSPFv2 process 1.
Manual configuration is the highest priority in OSPF Router ID selection.
2
Identify eligible operational loopback interfaces
Loopback 0 is excluded because its interface state is administratively down. Loopback 1 (172.16.5.1) and Loopback 2 (172.16.20.1) are eligible because both are Up/Up.
OSPF election logic considers active (up/up) loopback interfaces next, prioritizing them over active physical interfaces.
3
Select the highest IP address among eligible loopback interfaces
172.16.20.1 is selected as the Router ID.
Between the two active loopbacks, 172.16.20.1 is numerically higher than 172.16.5.1. The physical interface address 192.168.1.254 is ignored because active loopback interfaces take precedence.

Key Concept

OSPFv2 Router ID Election Order
Question 360Question

A network administrator checks the OSPF status of a router interface connected to an Ethernet broadcast domain and observes the following output:

text
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.168.10.5/24, Area 0
Process ID 1, Router ID 10.1.1.5, Network Type BROADCAST, Cost: 1
State DROTHER, Priority 0
Designated Router (ID) 10.1.1.1, Interface address 192.168.10.1
Backup Designated router (ID) 10.1.1.2, Interface address 192.168.10.2

Based on this command output, what is the operational effect of configuring an OSPF priority of 0 on this interface?

Show answer & explanation

Answer: The router is completely excluded from participating in the DR and BDR election process on this multi-access segment.

Answer

Setting the OSPF interface priority to 0 prevents the router from participating in DR/BDR elections on that segment, forcing it into the DROTHER state.
In OSPFv2 broadcast and non-broadcast multi-access networks, setting an interface's OSPF priority to 0 (via the `ip ospf priority 0` interface configuration command) renders that router completely ineligible to be elected as Designated Router (DR) or Backup Designated Router (BDR). The router will strictly maintain the DROTHER state on that segment.

Step-by-Step Solution

1
Examine the output line showing interface priority and OSPF state
The interface displays 'State DROTHER, Priority 0'.
In OSPFv2, interface priority range is 0 to 255, where 1 is the default.
2
Apply the OSPF priority rules for DR/BDR election eligibility
An OSPF interface priority of 0 explicitly designates a router as non-candidate for DR and BDR roles.
Configuring 'ip ospf priority 0' ensures the router never assumes DR or BDR responsibilities, preserving control plane stability on specified nodes.

Key Concept

OSPF Interface Priority and Election Eligibility
PreviousPage 18 / 25Next