Tüm alıştırma soruları

1987 soru

Soru 1521Soru

A network administrator configures the interface command `ip ospf priority 0` on a router's GigabitEthernet interface connected to a broadcast multiaccess Ethernet network. What is the effect of setting the OSPF priority to 0 on this interface?

Cevabı ve açıklamayı göster

Cevap: The router becomes completely ineligible to be elected as a Designated Router (DR) or Backup Designated Router (BDR).

Cevap

The router becomes completely ineligible to be elected as a Designated Router (DR) or Backup Designated Router (BDR).
In OSPFv2 broadcast networks, setting the interface priority to 0 explicitly disables the router from participating in Designated Router (DR) or Backup Designated Router (BDR) elections. The router will remain in the DROTHER state for that segment regardless of its Router ID or IP addresses.

Adım Adım Çözüm

1
Identify the function of OSPF interface priority on multiaccess networks.
Interface priority (default value of 1) determines candidate preference during DR and BDR elections.
OSPF uses priority values ranging from 0 to 255 to control router roles on broadcast segments.
2
Evaluate the special meaning of priority value 0.
A priority setting of 0 forces the interface into a DROTHER state, preventing it from ever becoming a DR or BDR.
By OSPF design, priority 0 indicates non-participation in election roles.

Anahtar Kavram

OSPF Priority 0 DR/BDR Election Exclusion
Tahmini Süre:45s
Soru 1522Soru

Four Cisco routers (R1, R2, R3, and R4) are booted simultaneously on a shared broadcast multiaccess Ethernet segment running OSPFv2 in Area 0. No explicit OSPF router ID is configured under the `router ospf` process on any router.

The interface and active IP configurations are as follows:
- R1: GigabitEthernet0/0 IP 192.168.1.1/24192.168.1.1/24, Priority = 1010; Loopback0 IP = 10.1.1.1/3210.1.1.1/32
- R2: GigabitEthernet0/0 IP 192.168.1.2/24192.168.1.2/24, Priority = 00; Loopback0 IP = 172.16.1.1/32172.16.1.1/32
- R3: GigabitEthernet0/0 IP 192.168.1.3/24192.168.1.3/24, Priority = 1010; Loopback0 IP = 10.2.2.2/3210.2.2.2/32
- R4: GigabitEthernet0/0 IP 192.168.1.4/24192.168.1.4/24, Priority = 2020; Loopback0 IP = 10.0.0.1/3210.0.0.1/32

Order the routers in sequence from highest to lowest precedence during the initial Designated Router (DR) and Backup Designated Router (BDR) election, starting with the router selected as DR down to the completely ineligible router.

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

The correct sequence from highest election precedence to lowest is: Router R4 (DR), Router R3 (BDR), Router R1 (DROTHER), and Router R2 (Ineligible).
The election evaluates interface priority first. Router R4 has the highest interface priority (20) and is elected DR. Router R2 has a priority of 0, making it strictly ineligible for DR/BDR election despite having the highest Loopback IP address. Between Router R1 and Router R3 (both having priority 10), Router R3 wins the BDR election because its loopback address (10.2.2.2) forms a higher Router ID than Router R1 (10.1.1.1). Router R1 becomes a DROTHER.

Adım Adım Çözüm

1
Determine initial eligibility based on configured interface priority.
Router R2 has an OSPF interface priority of 0, which immediately disqualifies it from DR/BDR election eligibility, placing it at the bottom of the election ranking.
An OSPF interface priority of 0 specifies that the router cannot become a DR or BDR on the segment.
2
Evaluate eligible candidate routers by interface priority to select the DR.
Router R4 has a priority of 20, while Router R1 and Router R3 each have a priority of 10. Router R4 wins the DR election.
OSPF interface priority is the primary criteria for DR/BDR election; the router with the highest numeric priority value wins.
3
Break the priority tie between remaining eligible routers for BDR selection using Router ID.
Router R3 and Router R1 tie with an interface priority of 10. Router R3 has an active Loopback0 IP of 10.2.2.2, which becomes its Router ID. Router R1 has a Loopback0 IP of 10.1.1.1. Because 10.2.2.2 > 10.1.1.1, Router R3 is elected BDR and Router R1 becomes a DROTHER.
When interface priorities are equal, OSPF uses the highest Router ID (derived automatically from the highest active loopback IP address) as the secondary tie-breaker.

Anahtar Kavram

OSPFv2 DR/BDR Election Precedence (Interface Priority > Highest Router ID via Loopback > Priority 0 Ineligibility)
Tahmini Süre:2m 0s
Soru 1523Soru

An enterprise deploys a Cisco Lightweight Access Point (LAP) operating in FlexConnect mode at a remote branch office. The AP is configured to perform local switching for WLANs mapped to VLAN 10 (Sales) and VLAN 20 (Guests). The AP management traffic must be assigned to VLAN 100 and transmitted untagged over the physical link. The connected Cisco Catalyst switch port is configured as an 802.1Q trunk. Which switchport configuration command must be applied to the switch port to ensure AP management traffic and locally switched WLAN traffic function properly?

Cevabı ve açıklamayı göster

Cevap: switchport trunk native vlan 100

Cevap

The switch interface must be configured with 'switchport trunk native vlan 100'.
When a Cisco Lightweight AP in FlexConnect mode is configured for local traffic switching across multiple VLANs (VLAN 10 and VLAN 20), the switch port must be an 802.1Q trunk. Because the AP sends its management traffic untagged by default, the switch port's native VLAN must match the AP's management VLAN (VLAN 100). The command 'switchport trunk native vlan 100' ensures untagged management frames are mapped into VLAN 100 while carrying tagged frames for the client VLANs.

Adım Adım Çözüm

1
Identify the AP deployment mode and traffic requirements.
The AP operates in FlexConnect mode with local switching for VLAN 10 and VLAN 20, requiring an 802.1Q trunk port.
FlexConnect APs supporting multiple locally switched SSIDs mapped to different VLANs must connect to switch ports configured as 802.1Q trunks.
2
Determine how the AP management traffic is framed.
AP management traffic is assigned to VLAN 100 and sent untagged by default.
Cisco Lightweight APs send their CAPWAP management traffic untagged unless AP VLAN tagging is explicitly enabled.
3
Select the appropriate 802.1Q trunk configuration command.
Apply 'switchport trunk native vlan 100' on the switch port.
Setting the native VLAN to 100 ensures untagged frames received from the AP are mapped to VLAN 100 on the switch, while tagged frames for VLAN 10 and VLAN 20 are trunked appropriately.

Anahtar Kavram

FlexConnect AP Switch Port Infrastructure Trunking and Native VLAN Configuration
Tahmini Süre:1m 30s
Soru 1524Soru

A network administrator configures dynamic NAT on a Cisco IOS router to enable hosts on the 192.168.10.0/24192.168.10.0/24 internal network to reach the Internet using an address pool defined as 203.0.113.1203.0.113.1 to 203.0.113.2203.0.113.2. After deployment, only two internal hosts can access external servers at any given time. Subsequent connection attempts from other internal hosts fail until one of the active hosts disconnects. Verification with the command `show ip nat translations` shows exactly two active entries without any transport layer port numbers listed. Which configuration change must be made on the router to allow all internal hosts to access external resources simultaneously?

Cevabı ve açıklamayı göster

Cevap: Append the `overload` keyword to the `ip nat inside source list` configuration command.

Cevap

Appending the `overload` keyword to the `ip nat inside source list` command enables Port Address Translation (PAT), allowing multiple internal private IP addresses to share the public addresses in the pool by tracking unique source port numbers.
Omitting the `overload` keyword in a dynamic NAT pool configuration limits Cisco IOS to standard dynamic 1-to-1 address mappings. Because the public pool contains only two IP addresses, the first two active internal hosts occupy the entire pool. Appending the `overload` keyword enables Port Address Translation (PAT), allowing multiple inside local addresses to be multiplexed over the same inside global addresses using unique Layer 4 port numbers.

Adım Adım Çözüm

1
Analyze the symptoms described in the scenario
Only two hosts can connect simultaneously because the pool has only two IP addresses (203.0.113.1203.0.113.1 and 203.0.113.2203.0.113.2).
Without port multiplexing, dynamic NAT performs strict dynamic 1-to-1 mappings on a first-come, first-served basis.
2
Examine the verification command output details
`show ip nat translations` shows translation entries without port numbers (e.g., Inside local mapped directly to Inside global).
The absence of Layer 4 port numbers confirms that Port Address Translation (PAT) is disabled, causing IP address exhaustion after two host translations.
3
Identify the required Cisco IOS command syntax fix
Adding `overload` to `ip nat inside source list <acl> pool <pool_name> overload` enables PAT.
The `overload` keyword instructs the router to track source port numbers, allowing thousands of concurrent sessions over the shared public IP pool.

Anahtar Kavram

Port Address Translation (PAT) Overload Keyword Requirement
Soru 1525Soru

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?

Cevabı ve açıklamayı göster

Cevap: 192.168.4.1 via GigabitEthernet0/0/3

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

Longest Prefix Match (LPM) rule in Cisco IPv4 packet forwarding logic
Soru 1526Soru

A network administrator is connecting a new IP security camera to interface GigabitEthernet1/0/4 on a Cisco Catalyst switch. VLAN 22 (named CAMERAS) has already been created in global configuration mode. Which set of interface configuration commands correctly configures GigabitEthernet1/0/4 to operate as a static, untagged access port belonging to VLAN 22?

Cevabı ve açıklamayı göster

Cevap: switchport mode access
switchport access vlan 22

Cevap

The command sequence incorporating 'switchport mode access' followed by 'switchport access vlan 22' correctly configures the interface as a static access port assigned to VLAN 22.
To configure a switch port for a dedicated end device in Cisco IOS, the port must be explicitly configured as an access port using 'switchport mode access' and assigned to the intended broadcast domain using 'switchport access vlan <vlan-id>'. The command sequence combining 'switchport mode access' and 'switchport access vlan 22' fulfills both requirements cleanly.

Adım Adım Çözüm

1
Identify the target operating mode for an end-user device or host
End-host devices such as IP cameras require an access port (single untagged VLAN membership) rather than a trunk port.
Access ports send and receive standard, untagged Ethernet frames expected by end stations.
2
Set the switchport mode to static access
Executing 'switchport mode access' under interface configuration mode disables dynamic trunking negotiation and locks the port in access mode.
This prevents unexpected DTP trunk negotiation and enforces Layer 2 static access port behavior.
3
Assign the designated access VLAN to the interface
Executing 'switchport access vlan 22' places untagged frames received on GigabitEthernet1/0/4 into VLAN 22.
This explicitly maps the port's Layer 2 broadcast domain membership to VLAN 22.

Anahtar Kavram

Configuring Cisco IOS Layer 2 Switchports as Static VLAN Access Ports
Soru 1527Soru

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?

Cevabı ve açıklamayı göster

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

Cevap

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.

Adım Adım Çözüm

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'.

Anahtar Kavram

IPv6 Static Routing with Link-Local Next-Hop
Soru 1528Soru

A network engineer is provisioning static IP addresses for servers assigned to the subnetwork block 10.45.192.0/2110.45.192.0/21. Which TWO of the following IPv4 addresses are valid, usable host addresses within this subnetwork?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: 10.45.192.1; 10.45.199.254

Cevap

The addresses 10.45.192.1 and 10.45.199.254 are valid usable host addresses.
For a /21 prefix (255.255.248.0255.255.248.0), the subnetwork spans from network address 10.45.192.010.45.192.0 to broadcast address 10.45.199.25510.45.199.255. The usable host range includes all IP addresses between the network address and broadcast address, which are 10.45.192.110.45.192.1 through 10.45.199.25410.45.199.254. Therefore, 10.45.192.110.45.192.1 and 10.45.199.25410.45.199.254 are both valid usable host addresses.

Adım Adım Çözüm

1
Determine the subnet mask and block size from the prefix length.
A /21 prefix corresponds to a subnet mask of 255.255.248.0. The block size in the third octet is 256 - 248 = 8.
Prefix length /21 leaves 11 bits for hosts (32 - 21 = 11).
2
Calculate the network address and broadcast address for 10.45.192.0/21.
Network Address: 10.45.192.0; Broadcast Address: 10.45.199.255.
The third octet increments in steps of 8 (192, 200, etc.). The current subnet spans from 10.45.192.0 to 10.45.199.255.
3
Identify the usable host address range.
Usable host range is 10.45.192.1 through 10.45.199.254.
Usable host addresses exclude the network address (first IP) and broadcast address (last IP).

Anahtar Kavram

Usable IPv4 Host Range Calculation
Soru 1529Soru

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?

Cevabı ve açıklamayı göster

Cevap: 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.

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

OSPF Neighbor Adjacency States and MTU Mismatch Troubleshooting
Soru 1530Soru

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?

Cevabı ve açıklamayı göster

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

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

OSPFv2 DR/BDR Ineligibility via Priority 0
Soru 1531Soru

During network troubleshooting on router R3, users on subnet 172.16.10.0/24172.16.10.0/24 report that only one internal host can access the Internet at a time. The network administrator runs `show ip nat statistics` and observes the following output:

Total active translations: 1 (0 static, 1 dynamic, 0 extended)
Outside interfaces:
GigabitEthernet0/1
Inside interfaces:
GigabitEthernet0/0
Hits: 142 Misses: 18
Dynamic mappings:
-- Inside Source
access-list 15 pool CORP_PAT refcount 1

The running configuration contains:
`ip nat pool CORP_PAT 203.0.113.10 203.0.113.10 prefix-length 29`
`ip nat inside source list 15 pool CORP_PAT`

Which configuration change on R3 will resolve the issue and permit multiple internal hosts to access external resources simultaneously?

Cevabı ve açıklamayı göster

Cevap: Add overload to the end of the ip nat inside source list 15 pool CORP_PAT statement.

Cevap

Add overload to the end of the ip nat inside source list 15 pool CORP_PAT statement.
The output of `show ip nat statistics` shows '0 extended translations', confirming that standard dynamic 1-to-1 NAT is running instead of Port Address Translation (PAT). Because the NAT pool contains only a single public IPv4 address (203.0.113.10203.0.113.10), omitting the `overload` parameter limits translation to only one internal host at a time. Appending `overload` to the `ip nat inside source list` command instructs the router to track Layer 4 port numbers, enabling multiple internal hosts to share the single public address simultaneously.

Adım Adım Çözüm

1
Analyze the show ip nat statistics output.
Output shows 0 extended translations and 1 dynamic translation active.
An extended translation indicates PAT (layer 4 port tracking). Having 0 extended translations means standard 1-to-1 dynamic NAT is active.
2
Inspect the NAT pool and inside source command configuration.
The NAT pool CORP_PAT contains only one public IP address (203.0.113.10), and the translation rule lacks the overload keyword.
Without overload, standard dynamic NAT allocates the single pool address to the first host that generates traffic and exhausts the pool.
3
Determine the required CLI command modification.
Executing ip nat inside source list 15 pool CORP_PAT overload enables Port Address Translation.
Including overload allows multiple inside local IP addresses to share the single inside global IP address by tracking unique TCP/UDP port numbers.

Anahtar Kavram

Inside Source Port Address Translation (PAT) Configuration with NAT Pools
Tahmini Süre:2m 0s
Soru 1532Soru

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?

Cevabı ve açıklamayı göster

Cevap: 10.88.3.1

Cevap

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.

Adım Adım Çözüm

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'.

Anahtar Kavram

Longest Prefix Match (LPM) rule in IPv4 routing lookup decision logic
Tahmini Süre:1m 30s
Soru 1533Soru

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?

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: 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.

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

IPv4 Default and Floating Static Route Configuration Mechanics
Soru 1534Soru

To enable multiple internal devices to share the single public IPv4 address assigned to WAN interface Serial0/1/0 using Port Address Translation (PAT), which Cisco IOS command must be executed?

Cevabı ve açıklamayı göster

Cevap: ip nat inside source list 10 interface Serial0/1/0 overload

Cevap

The command 'ip nat inside source list 10 interface Serial0/1/0 overload' correctly configures PAT using an exit interface.
The correct command syntax for configuring Port Address Translation using an exit interface IP address is 'ip nat inside source list <acl-number> interface <interface-id> overload'. The overload keyword tells the router to track transport-layer port numbers to allow multiple private IP addresses to share a single public IP address.

Adım Adım Çözüm

1
Identify the source traffic matched by Access Control List 10.
Internal IPv4 traffic is designated for NAT translation.
The 'list 10' parameter specifies which source addresses undergo translation.
2
Specify the egress interface for translation.
The public IPv4 address of interface Serial0/1/0 is selected as the translation target.
The 'interface Serial0/1/0' clause tells the router to use the interface's dynamic or static public IP address.
3
Append the 'overload' keyword.
Port Address Translation (PAT) is enabled using transport layer port numbers.
The 'overload' keyword allows multiple internal sockets to share the single interface IP address simultaneously.

Anahtar Kavram

Port Address Translation (PAT) Interface Overload Configuration
Tahmini Süre:45s
Soru 1535Soru

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?

Cevabı ve açıklamayı göster

Cevap: 172.16.1.1

Cevap

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).

Adım Adım Çözüm

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.

Anahtar Kavram

OSPFv2 Router ID Selection Logic
Tahmini Süre:45s
Soru 1536Soru

A network engineer needs to configure static Port Address Translation (Port Forwarding) on a Cisco IOS router to allow public users on the Internet to access an internal HTTP web server. The internal web server is assigned private IPv4 address 10.1.1.5010.1.1.50 and listens on TCP port 8080. External connections should be directed to the router's public IPv4 address 203.0.113.10203.0.113.10 on TCP port 80808080.

What exact Cisco IOS global configuration command must be entered to establish this static NAT mapping?

Cevabı ve açıklamayı göster

Cevap: ip nat inside source static tcp 10.1.1.50 80 203.0.113.10 8080

Cevap

ip nat inside source static tcp 10.1.1.50 80 203.0.113.10 8080
The correct Cisco IOS command for configuring static Port Address Translation (port forwarding) follows the structure: 'ip nat inside source static <protocol> <local-ip> <local-port> <global-ip> <global-port>'. Therefore, entering 'ip nat inside source static tcp 10.1.1.50 80 203.0.113.10 8080' maps incoming connections on public TCP port 8080 to internal server 10.1.1.50 on port 80.

Adım Adım Çözüm

1
Identify the static NAT configuration prefix for inside source address translation.
The initial keywords are 'ip nat inside source static'.
Static translation maps a specific inside local socket to an inside global socket.
2
Specify the Layer 4 transport protocol.
Add the keyword 'tcp'.
Static PAT (port forwarding) requires defining whether TCP or UDP is being translated.
3
Specify the inside local IP address and port number.
Add '10.1.1.50 80'.
This defines the internal server's private socket (IP and service port).
4
Specify the inside global IP address and port number.
Add '203.0.113.10 8080'.
This defines the public IP and port presented to the external network.

Anahtar Kavram

Static Port Address Translation (Static PAT / Port Forwarding)
Soru 1537Soru

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?

Cevabı ve açıklamayı göster

Cevap: The administrative distance configured for the static route

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

Cisco IOS IPv4 static route command syntax and Administrative Distance configuration
Soru 1538Soru

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.)

Geçerli olan tümünü seçin

Cevabı ve açıklamayı göster

Cevap: 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.

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

Longest Prefix Match Forwarding Logic
Soru 1539Soru

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).

Öğeleri doğru sıraya koymak için sürükleyin

Cevabı ve açıklamayı göster

Cevap

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.

Adım Adım Çözüm

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.

Anahtar Kavram

OSPFv2 DR/BDR Election Precedence Rules
Soru 1540Soru

A network administrator is verifying traffic flows from client workstations in an enterprise environment. Which transport layer protocol and destination port does a host client use by default when submitting standard domain name lookup queries to a DNS server?

Cevabı ve açıklamayı göster

Cevap: UDP port 53

Cevap

Standard DNS lookup queries sent by host clients use UDP port 53.
Standard DNS lookup requests from client endpoints rely on UDP port 53 to achieve fast, low-latency name resolution without needing a three-way TCP handshake.

Adım Adım Çözüm

1
Identify the application protocol responsible for resolving hostnames into IP addresses.
The Domain Name System (DNS) performs name-to-IP resolution.
Host clients require an IP address to encapsulate data packets destined for named network resources.
2
Determine the transport protocol and port used for standard client queries.
Standard DNS queries use User Datagram Protocol (UDP) on destination port 53.
UDP provides fast, connectionless transmission without connection establishment overhead, making it ideal for quick query-and-response transactions.

Anahtar Kavram

DNS Transport Layer Mechanics (UDP Port 53)
ÖncekiSayfa 77 / 100Sonraki
Tüm alıştırma soruları — Cisco CCNA | Examkin