Tüm alıştırma soruları

1987 soru

Soru 61Soru

A network administrator needs to configure an extended IPv4 access control list (ACL) to implement a specific traffic policy on a Cisco router interface. Arrange the following ACL statements and actions in the correct top-down evaluation order to ensure that host 10.1.1.15 is allowed SSH access to server 172.16.0.5, all other SSH traffic from subnet 10.1.1.0/24 to server 172.16.0.5 is blocked, all other IP traffic from subnet 10.1.1.0/24 is permitted, and unmatched traffic is dropped by default.

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

Cevabı ve açıklamayı göster

Cevap

The correct sequence places specific permit statements first (permit tcp host 10.1.1.15 host 172.16.0.5 eq 22), followed by broader subnet restrictions (deny tcp 10.1.1.0 0.0.0.255 host 172.16.0.5 eq 22), then general subnet permits (permit ip 10.1.1.0 0.0.0.255 any), and concludes with the automatic implicit deny rule.
Cisco IOS IPv4 access control lists process entries in strict sequential top-down order, stopping processing as soon as a packet matches an Access Control Entry (ACE). Therefore, specific host exceptions must be placed above broader subnet rules. The permit statement for host 10.1.1.15 must be evaluated first so it is not dropped by the subnet-wide SSH deny rule. Placing general subnet permit traffic third allows other protocols from the subnet, and any packet not matching these three lines falls into the automatic implicit deny rule at the bottom.

Adım Adım Çözüm

1
Identify specific host exception rules
Position the permit rule for host 10.1.1.15 SSH traffic at line 1.
Cisco IOS processes ACLs top-down sequentially; specific host permissions must precede subnet-wide blocks to prevent false matches.
2
Identify broader subnet restriction rules
Position the deny rule for SSH traffic from subnet 10.1.1.0/24 to server 172.16.0.5 at line 2.
This blocks all other hosts in 10.1.1.0/24 from SSH access to 172.16.0.5 after the allowed host exception is processed.
3
Identify general permit rules for remaining subnet traffic
Position the permit IP rule for 10.1.1.0/24 to any destination at line 3.
This allows non-SSH traffic from 10.1.1.0/24 to pass after specific SSH security checks have been evaluated.
4
Account for default ACL termination behavior
Acknowledge the implicit deny ip any any statement at the end of the evaluation list.
Cisco IOS appends an unseen implicit deny statement to the end of every ACL, dropping any packet that does not match preceding lines.

Anahtar Kavram

Cisco IPv4 ACL sequential top-down evaluation logic and implicit deny enforcement
Soru 62Soru

A network engineer is designing a 10 Gigabit Ethernet trunk link between two distribution switches located 250 meters apart in a campus environment. Which of the following transceiver and cabling combinations will successfully establish and support this 10 Gbps connection over the specified distance? (Select two.)

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

Cevabı ve açıklamayı göster

Cevap: 10GBASE-SR SFP+ transceivers connected via OM3 multimode fiber optic cabling; 10GBASE-LR SFP+ transceivers connected via single-mode fiber optic cabling

Cevap

The 10 Gigabit Ethernet link over 250 meters can be supported using 10GBASE-SR transceivers with OM3 multimode fiber or 10GBASE-LR transceivers with single-mode fiber.
The combination of 10GBASE-SR with OM3 multimode fiber supports 10 Gbps up to 300 meters, which comfortably reaches the required 250 meters. Similarly, 10GBASE-LR transceivers with single-mode fiber support 10 Gbps up to 10 kilometers, making both options fully compliant with the design constraints.

Adım Adım Çözüm

1
Evaluate bandwidth and physical distance parameters.
Required data rate is 10 Gbps; required distance is 250 meters.
Transceiver optics and media standards are defined by maximum supported reach and speed capabilities.
2
Analyze multimode fiber (MMF) specifications for 10 Gbps operation.
10GBASE-SR over OM3 MMF supports distances up to 300 m (and up to 400 m on OM4), whereas legacy OM1 MMF only supports up to 33 m.
OM3 fiber has higher modal bandwidth allowing 10GBASE-SR light signals to travel up to 300 meters without unacceptable modal dispersion.
3
Analyze single-mode fiber (SMF) specifications for 10 Gbps operation.
10GBASE-LR over SMF supports distances up to 10 km (10,000 meters).
Single-mode fiber uses narrow core diameters and lasers, eliminating modal dispersion and easily covering 250 meters.

Anahtar Kavram

Physical Interface and Cabling Specifications for Ethernet Transceivers
Tahmini Süre:1m 30s
Soru 63Soru

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

text
Gateway of last resort is 192.168.100.1 to network 0.0.0.0

S 10.20.0.0/16 [1/0] via 192.168.1.1
D 10.20.30.0/24 [90/307200] via 192.168.23.3, GigabitEthernet0/0/2
O 10.20.30.64/27 [110/20] via 192.168.12.2, GigabitEthernet0/0/1
S* 0.0.0.0/0 [1/0] via 192.168.100.1, GigabitEthernet0/0/0

The router receives a packet with a destination IP address of 10.20.30.77. Which next-hop IP address will the router select to forward this packet?

Cevabı ve açıklamayı göster

Cevap: 192.168.12.2

Cevap

192.168.12.2
When a router receives a packet, it compares the destination IP address against the routing table entries and selects the route with the longest prefix match (most specific subnet mask). The destination IP address 10.20.30.77 falls within the subnet range 10.20.30.64 to 10.20.30.95 (/27). Among all matching routes (/16, /24, /27, and /0), /27 has the greatest number of matching network bits, making the next-hop IP address 192.168.12.2 the correct forwarding choice.

Adım Adım Çözüm

1
Identify all candidate routes that match the destination IP 10.20.30.77.
The IP address 10.20.30.77 falls into three specific route ranges: 10.20.0.0/16, 10.20.30.0/24, and 10.20.30.64/27 (range 10.20.30.64 to 10.20.30.95), plus the default route 0.0.0.0/0.
Routing decision logic requires evaluating all matching entries in the IPv4 routing table.
2
Apply the Longest Prefix Match (LPM) rule to select the route with the longest subnet mask.
Comparing the subnet mask lengths (/16, /24, and /27), the prefix /27 is the longest (most specific) match.
The router always prioritizes prefix length above Administrative Distance or Metric when choosing between matching routes.
3
Determine the next-hop IP associated with the chosen /27 route.
The route O 10.20.30.64/27 specifies next-hop IP 192.168.12.2 via GigabitEthernet0/0/1.
The forward decision routes the packet out the next hop designated by the winning route.

Anahtar Kavram

Longest Prefix Match (LPM) Precedence
Soru 64Soru

A network operations engineer is provisioning IPv6 static routing on router Edge-Rtr. The design requirements specify:
1. All default traffic must be forwarded to the primary service provider gateway at global unicast address 2001:db8:1000:1::12001:\text{db8}:1000:1::1.
2. A backup static route for internal network 2001:db8:abc:10::/642001:\text{db8}:\text{abc}:10::/64 must direct traffic to link-local next-hop address fe80::2\text{fe80}::2 across exit interface GigabitEthernet0/0/1, functioning as a floating route to back up a primary OSPFv3 route (administrative distance 110).

Which TWO Cisco IOS configuration commands correctly fulfill these requirements?

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

Cevabı ve açıklamayı göster

Cevap: ipv6 route ::/0 2001:db8:1000:1::1; ipv6 route 2001:db8:abc:10::/64 GigabitEthernet0/0/1 fe80::2 120

Cevap

The correct commands are 'ipv6 route ::/0 2001:db8:1000:1::1' for default routing to the global unicast address, and 'ipv6 route 2001:db8:abc:10::/64 GigabitEthernet0/0/1 fe80::2 120' for the fully-specified floating static route.
The command configuring the default prefix '::/0' to the global unicast address correctly establishes default forwarding. The command referencing prefix '2001:db8:abc:10::/64' with interface 'GigabitEthernet0/0/1', link-local address 'fe80::2', and administrative distance '120' correctly satisfies all syntax rules for link-local next hops and floating route precedence.

Adım Adım Çözüm

1
Identify the proper prefix and syntax for an IPv6 default static route.
The IPv6 default route prefix is ::/0::/0. When using a global unicast next hop, specifying an exit interface is optional.
Global unicast addresses are globally reachable and routable without explicit interface disambiguation.
2
Identify the mandatory syntax requirements when using an IPv6 link-local address as a next-hop.
Because link-local addresses (FE80::/10) are non-routable outside their local link, Cisco IOS requires specifying the local outbound exit interface along with the link-local next-hop address.
Without specifying the exit interface, the router cannot determine which local interface connects to the target link-local neighbor.
3
Evaluate the administrative distance requirement for floating static routes.
The floating static route must have an administrative distance greater than the active route protocol (OSPFv3 AD = 110), so an AD of 120 is required.
Routes with lower administrative distance values take priority in the routing table.

Anahtar Kavram

IPv6 static route configuration syntax, link-local next-hop requirements, and floating static route administrative distance manipulation.
Soru 65Soru

A network administrator is configuring Rapid PVST+ on a Cisco Catalyst switch. The administrator intends for the switch to advertise a total Bridge Priority of 2053020530 for VLAN 5050 in its outgoing BPDUs to influence the Root Bridge election. Which priority value must be specified in the `spanning-tree vlan 50 priority <value>` command?

Cevabı ve açıklamayı göster

Cevap: 20480

Cevap

The base priority value that must be configured is 20480.
In Cisco Rapid PVST+, the Bridge Priority is composed of a 4-bit Base Priority field and a 12-bit System ID Extension field containing the VLAN ID. The Base Priority must be configured as a multiple of 4096 (0,4096,8192,dots,614400, 4096, 8192, dots, 61440). When the command `spanning-tree vlan 50 priority 20480` is executed, the switch automatically adds the VLAN ID (5050) to the base priority (2048020480), producing a total advertised Bridge Priority of 2053020530.

Adım Adım Çözüm

1
Understand the Spanning Tree Bridge Identifier (BID) priority composition in Rapid PVST+.
Total Bridge Priority = Base Priority + System ID Extension (VLAN ID).
Rapid PVST+ uses 802.1t System ID Extension, allocating 4 bits for the base priority (in increments of 4096) and 12 bits for the VLAN ID.
2
Calculate the required base priority for VLAN 50 given a total priority of 20530.
Base Priority = 20530 - 50 = 20480.
Subtracting the VLAN ID (50) from the target total Bridge Priority yields the exact base priority.
3
Verify that the base priority is a valid increment of 4096.
20480 / 4096 = 5 (an exact integer multiple).
The Cisco IOS CLI accepts only values in increments of 4096 (e.g., 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768).

Anahtar Kavram

Rapid PVST+ System ID Extension and Bridge Priority Increment Calculation
Soru 66Soru

A network administrator is configuring a interface on a switch assigned to the 192.168.4.128/26192.168.4.128/26 IPv4 network segment. Which IPv4 address represents a valid usable host address for this interface?

Cevabı ve açıklamayı göster

Cevap: 192.168.4.150192.168.4.150

Cevap

The address 192.168.4.150192.168.4.150 is a valid usable host address in the 192.168.4.128/26192.168.4.128/26 subnet.
For a /26/26 prefix, 6 bits are available for hosts, providing a total of 26=642^6 = 64 addresses. The 192.168.4.128/26192.168.4.128/26 subnet spans from 192.168.4.128192.168.4.128 (Network ID) through 192.168.4.191192.168.4.191 (Broadcast Address). The usable host range is 192.168.4.129192.168.4.129 to 192.168.4.190192.168.4.190. The address 192.168.4.150192.168.4.150 falls within this valid usable range.

Adım Adım Çözüm

1
Determine the total block size from the prefix length.
A /26/26 prefix leaves 3226=632 - 26 = 6 host bits. The block size is 26=642^6 = 64 addresses.
Calculating block size establishes the boundary for subnet ranges.
2
Identify the network and broadcast addresses of the subnet.
The network address is 192.168.4.128192.168.4.128. The broadcast address is 192.168.4.128+641=192.168.4.191192.168.4.128 + 64 - 1 = 192.168.4.191.
Network and broadcast addresses mark the unassignable outer boundaries of the IPv4 block.
3
Calculate the range of usable host addresses.
First usable host = 192.168.4.129192.168.4.129; Last usable host = 192.168.4.190192.168.4.190.
Usable host addresses consist of all IP addresses strictly between the network ID and broadcast address.
4
Evaluate the given choices against the usable host range.
The address 192.168.4.150192.168.4.150 falls within the range [192.168.4.129,192.168.4.190][192.168.4.129, 192.168.4.190].
Only IP addresses in the usable range can be statically assigned to network interfaces.

Anahtar Kavram

IPv4 Subnet Boundaries and Usable Host Identification
Tahmini Süre:1m 0s
Soru 67Soru

A network administrator executes the global configuration command `logging trap 4` on a Cisco IOS router that is configured to forward log messages to an external syslog server. Shortly after, an interface status change occurs, generating a syslog event message with severity level 5 (Notifications). How does the router handle this message regarding transmission to the remote syslog server?

Cevabı ve açıklamayı göster

Cevap: The router discards the message for remote syslog transmission because severity level 5 exceeds the configured threshold of level 4.

Cevap

The router discards the message for remote syslog transmission because severity level 5 exceeds the configured threshold of level 4.
The command `logging trap 4` configures the router to send log messages with severity levels 0 through 4 (Emergency, Alert, Critical, Error, and Warning) to the remote syslog collector. Since severity level 5 (Notifications) is numerically greater than 4, it falls outside the forwarding threshold and will not be transmitted to the syslog server.

Adım Adım Çözüm

1
Identify the Syslog severity scale in Cisco IOS.
Syslog severity ranges from 0 (Emergency, highest priority) to 7 (Debugging, lowest priority).
Understanding the inverse numerical scale is necessary to evaluate logging thresholds.
2
Analyze the scope of the configured `logging trap 4` command.
The `logging trap 4` command directs the router to send messages from severity level 0 up to severity level 4 (Warnings) to the remote syslog server.
Cisco IOS syslog traps capture all messages at or above the criticality of the configured level (numerically less than or equal to the configured level).
3
Compare the generated message severity level against the trap threshold.
The generated event has a severity level of 5 (Notifications). Because 5 is numerically greater than 4, it falls outside the range of messages forwarded to the syslog server.
Messages with a numerical value greater than the configured threshold are suppressed from being forwarded to the remote server.

Anahtar Kavram

Syslog severity level threshold behavior for remote log destination configuration
Tahmini Süre:1m 0s
Soru 68Soru

An administrator is reviewing the following Cisco IOS command output from router HQ-R3, which is connected to a shared Ethernet LAN segment alongside other OSPFv2 routers:

HQ-R3# show ip ospf interface GigabitEthernet0/0
GigabitEthernet0/0 is up, line protocol is up
Internet Address 192.168.1.3/24, Area 0
Process ID 1, Router ID 10.3.3.3, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DROTHER, Priority 0
Designated Router (ID) 10.4.4.4, Interface address 192.168.1.4
Backup Designated Router (ID) 10.2.2.2, Interface address 192.168.1.2
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

If both the current Designated Router (10.4.4.4) and Backup Designated Router (10.2.2.2) fail simultaneously, which statement correctly describes the operational outcome for HQ-R3 during the resulting election?

Cevabı ve açıklamayı göster

Cevap: HQ-R3 will remain in the DROTHER state and is ineligible to become either the DR or BDR because its configured interface priority is zero.

Cevap

HQ-R3 will remain in the DROTHER state and is ineligible to become either the DR or BDR because its configured interface priority is zero.
In OSPFv2 broadcast multi-access networks, an interface configured with an OSPF priority of 0 (`ip ospf priority 0`) is explicitly excluded from DR/BDR elections. Regardless of failures of the current DR and BDR or the numerical value of HQ-R3's Router ID (10.3.3.3), HQ-R3 will always remain in the DROTHER state.

Adım Adım Çözüm

1
Examine the interface command output for HQ-R3.
The output indicates `Priority 0` and current state `DROTHER` on interface GigabitEthernet0/0.
Interface priority dictates eligibility and precedence in OSPF DR/BDR elections.
2
Evaluate the effect of Priority 0 on OSPF elections.
An OSPF interface priority of 0 completely disqualifies the router interface from being elected as Designated Router (DR) or Backup Designated Router (BDR).
This is a key administrative control mechanism to prevent specific routers (such as lower-capacity branch routers) from assuming DR responsibilities.
3
Determine the outcome when active DR and BDR fail.
Even if all other routers fail or have lower Router IDs, HQ-R3 will never transition out of the DROTHER state.
Priority 0 strictly overrides Router ID tie-breaking rules.

Anahtar Kavram

OSPFv2 Interface Priority 0 Election Exclusion
Soru 69Soru

A network administrator configures a Cisco router WAN egress interface with a Modular QoS CLI (MQC) policy map. The policy assigns real-time Voice over IP (VoIP) traffic to a class using the `priority 512` command, while transactional data is assigned to a class using the `bandwidth 2048` command. During a period of interface congestion, incoming voice traffic spikes to 768 kbps768\text{ kbps}. Which statement accurately describes how the router handles the voice traffic that exceeds the 512 kbps512\text{ kbps} allocated threshold?

Cevabı ve açıklamayı göster

Cevap: The router drops the excess 256 kbps256\text{ kbps} of voice traffic using a built-in strict priority policer to prevent starving other bandwidth-guaranteed queues.

Cevap

The router drops the excess voice traffic exceeding the 512 kbps512\text{ kbps} threshold using a built-in policing mechanism to protect other queues from bandwidth starvation during congestion.
Low Latency Queuing (LLQ) uses the `priority` command to create a strict priority queue for delay-sensitive traffic such as voice. To prevent a rogue stream or burst of voice traffic from starving other queues (configured via `bandwidth` statements) during link congestion, LLQ applies a built-in policer to the priority queue. Traffic offered to the priority queue up to the configured limit (512 kbps512\text{ kbps}) is serviced ahead of all other queues. Any excess traffic beyond 512 kbps512\text{ kbps} during congestion is dropped by the policer.

Adım Adım Çözüm

1
Identify the QoS queuing feature configured by the `priority` command.
The `priority` command configures Low Latency Queuing (LLQ), creating a strict priority queue alongside Class-Based Weighted Fair Queuing (CBWFQ) classes.
LLQ provides strict priority servicing for delay-sensitive traffic like voice.
2
Analyze how LLQ behaves when traffic in the priority queue exceeds its allocated bandwidth during interface congestion.
To prevent strict priority traffic from monopolizing the interface and starving CBWFQ classes, LLQ implements an implicit policer built into the priority queue.
Without policing, priority traffic could burst endlessly and cause complete packet drop/starvation in other classes.
3
Determine the action taken on the 256 kbps256\text{ kbps} burst exceeding the 512 kbps512\text{ kbps} limit.
The internal policer drops all incoming voice traffic that exceeds 512 kbps512\text{ kbps} while congestion persists.
Policing drops out-of-profile packets immediately rather than buffering them.

Anahtar Kavram

Low Latency Queuing (LLQ) Priority Queue Policing
Tahmini Süre:2m 0s
Soru 70Soru

A network technician is configuring high availability on interface GigabitEthernet0/1 of a Cisco IOS router. The interface is currently assigned the physical IPv4 address 192.168.10.1/24192.168.10.1/24. The technician enters the command `standby 1 ip 192.168.10.1` under interface configuration mode. Which outcome will occur as a result of executing this command?

Cevabı ve açıklamayı göster

Cevap: Cisco IOS rejects the virtual IP assignment because HSRP requires the virtual IP address to be distinct from any interface physical IP address in the group.

Cevap

Cisco IOS rejects the virtual IP assignment because HSRP requires the virtual IP address to be distinct from any interface physical IP address in the group.
In Cisco IOS HSRP implementations, the virtual IP address must be a unique IP address within the local subnet that is not configured as the physical IP address of any interface in the HSRP group. When an administrator attempts to assign an existing physical IP address as the HSRP virtual IP, Cisco IOS rejects the command with an error message.

Adım Adım Çözüm

1
Analyze the HSRP virtual IP configuration rule
HSRP (Hot Standby Router Protocol) requires an unassigned IP address within the subnet to serve as the shared virtual gateway IP.
Assigning an interface's active physical IP address as the HSRP virtual IP causes IP address conflicts and ARP resolution issues.
2
Compare HSRP behavior with VRRP behavior
While VRRP permits a router to act as the IP address owner (using its physical IP as the virtual IP with priority 255), HSRP explicitly forbids this.
Cisco IOS enforces this restriction at command entry for HSRP and generates an error message.
3
Determine the CLI command outcome
Executing `standby 1 ip 192.168.10.1` on an interface already using 192.168.10.1192.168.10.1 causes Cisco IOS to reject the command.
The system prevents invalid HSRP group configuration.

Anahtar Kavram

HSRP Virtual IP Address Assignment Restrictions vs VRRP IP Ownership
Soru 71Soru

A network administrator applies a standard IPv4 access control list containing a single line, `access-list 10 permit 192.168.1.0 0.0.0.255`, to a router interface. What happens to incoming packets originating from host 10.0.0.5?

Cevabı ve açıklamayı göster

Cevap: The packets are dropped due to the implicit deny statement at the end of the access list.

Cevap

The packets are dropped due to the implicit deny statement at the end of the access list.
In Cisco IOS IPv4 Access Control Lists, an unwritten 'implicit deny' statement exists at the end of every list. Any traffic that does not match one of the explicit permit statements will be dropped by default when it reaches the end of the ACL.

Adım Adım Çözüm

1
Evaluate the incoming packet source address against the ACL statements.
The packet source IP 10.0.0.5 is compared against the first entry: `permit 192.168.1.0 0.0.0.255`.
ACL entries are processed sequentially from top to bottom.
2
Determine if the packet matches the explicit entry.
Host 10.0.0.5 does not belong to the 192.168.1.0/24 network, so it does not match.
The wildcard mask 0.0.0.255 restricts matching strictly to the 192.168.1.0/24 subnet.
3
Apply the default action at the end of the list.
The packet hits the invisible `deny ip any any` (or `deny any`) statement at the bottom of the ACL and is dropped.
Every Cisco IPv4 ACL automatically ends with an implicit deny all clause.

Anahtar Kavram

Implicit Deny Clause in Cisco IPv4 ACLs
Soru 72Soru

A network engineer is configuring a named extended IPv4 Access Control List (ACL) on a Cisco IOS router to implement a multi-tier security policy. The ACL must process rules top-down to meet the following requirements:
1. Permit SSH access (TCPTCP port 22) from the specific management host 192.168.100.50192.168.100.50 to the core server interface 10.1.1.110.1.1.1.
2. Deny all other IP traffic originating from the Management subnet (192.168.100.0/24192.168.100.0/24) destined for the Server Farm subnet (10.1.0.0/1610.1.0.0/16).
3. Permit ICMP echo traffic from the Operations subnet (172.16.20.0/24172.16.20.0/24) to any destination.
4. Permit all remaining IPv4 traffic across all subnets.

In what order should the access-list statements be configured from top (first statement executed) to bottom (last statement executed) to ensure proper sequential traffic processing without unintended dropping of packets?

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

Cevabı ve açıklamayı göster

Cevap

The correct order of ACL statements from top to bottom is: 1) permit tcp host 192.168.100.50 host 10.1.1.1 eq 22, 2) deny ip 192.168.100.0 0.0.0.255 10.1.0.0 0.0.255.255, 3) permit icmp 172.16.20.0 0.0.0.255 any echo, 4) permit ip any any.
Cisco Access Control Lists evaluate matching statements in a strict top-down sequential order. Once a packet matches an Access Control Entry (ACE), processing stops for that packet. Therefore, more specific rules (such as permitting TCP port 22 from host 192.168.100.50192.168.100.50 to host 10.1.1.110.1.1.1) must appear before broader rules (such as denying 192.168.100.0/24192.168.100.0/24 to 10.1.0.0/1610.1.0.0/16). Finally, 'permit ip any any' must be placed at the end to prevent unmentioned traffic from being dropped by the implicit deny rule.

Adım Adım Çözüm

1
Identify specific host permit exception
Recognize that 'permit tcp host 192.168.100.50 host 10.1.1.1 eq 22' is a specific exception to a broader subnet blocking rule.
Cisco ACLs process rules sequentially from top to bottom and stop at the first match. Specific host rules must always precede general subnet rules that overlap with them.
2
Place broader subnet deny rule
Position 'deny ip 192.168.100.0 0.0.0.255 10.1.0.0 0.0.255.255' immediately after the specific permit rule.
This blocks all other hosts in 192.168.100.0/24192.168.100.0/24 from accessing any hosts in 10.1.0.0/1610.1.0.0/16.
3
Add specific subnet feature permits
Add 'permit icmp 172.16.20.0 0.0.0.255 any echo' to allow Operations ICMP traffic.
Matches the requirement for ICMP echo traffic from 172.16.20.0/24172.16.20.0/24.
4
Add explicit catch-all permit rule
Append 'permit ip any any' at the very bottom.
Without this rule, Cisco IOS ACLs end with an implicit 'deny ip any any' clause, which would drop all other traffic across the network.

Anahtar Kavram

Cisco IPv4 Extended ACL sequential top-down evaluation and implicit deny override.
Soru 73Soru

A network administrator intends to configure a backup floating static route on router R1 to reach destination network 10.50.0.0/1610.50.0.0/16 in the event that the primary route learned via OSPF fails. The administrator enters the following configuration command on R1:

`ip route 10.50.0.0 255.255.0.0 192.168.12.2 105`

What is the immediate impact of this configuration on router R1's routing table?

Cevabı ve açıklamayı göster

Cevap: The static route becomes the active route in the routing table because its administrative distance of 105 is lower than OSPF's default administrative distance of 110.

Cevap

The static route becomes the active route in the routing table because its administrative distance of 105 is lower than OSPF's default administrative distance of 110.
In Cisco IOS, administrative distance (AD) determines which routing source is preferred when multiple sources provide routes to the same network prefix. OSPF has a default AD of 110. Because the configured static route specifies an AD of 105, which is lower (more trusted) than 110, the static route immediately takes precedence and replaces the OSPF route in the active routing table.

Adım Adım Çözüm

1
Identify default Administrative Distance (AD) values
Default OSPF AD is 110; default Static Route AD is 1.
Administrative distance measures the trustworthiness of a routing information source.
2
Analyze the configured static route parameter
The trailing value `105` in `ip route 10.50.0.0 255.255.0.0 192.168.12.2 105` sets the static route's AD to 105.
Floating static routes require an AD value higher than the primary routing protocol to stay hidden until the primary path fails.
3
Compare AD values to determine routing table selection
105 (configured static) < 110 (OSPF), so the static route is selected and immediately replaces the OSPF route.
When multiple routes to the exact same destination prefix exist, the router installs the route with the lowest administrative distance into the routing table.

Anahtar Kavram

Floating Static Route Administrative Distance Selection
Soru 74Soru

A network engineer is configuring an IPv4 extended Access Control List (ACL 105) on a Cisco IOS router. Place the following ACL entries in the correct top-down execution sequence (from top/first line to bottom/last line) to ensure that SSH traffic from management host 192.168.1.10 to server 10.1.1.50 is allowed, HTTP traffic from subnet 192.168.1.0/24 to server 10.1.1.50 is allowed, and all remaining IPv4 traffic to server 10.1.1.50 is denied.

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

Cevabı ve açıklamayı göster

Cevap

The correct sequential order from top to bottom is: first, the specific host SSH permit statement ('access-list 105 permit tcp host 192.168.1.10 host 10.1.1.50 eq 22'); second, the subnet HTTP permit statement ('access-list 105 permit tcp 192.168.1.0 0.0.0.255 host 10.1.1.50 eq 80'); and third, the explicit deny statement ('access-list 105 deny ip any host 10.1.1.50').
Cisco IOS Access Control Lists evaluate statements sequentially from top to bottom until a matching rule is found. To function correctly, specific rules (single host 192.168.1.10 on port 22) must come first, followed by broader rules (subnet 192.168.1.0/24 on port 80), and finally any explicit deny statement intended to block remaining traffic to host 10.1.1.50.

Adım Adım Çözüm

1
Identify the most specific traffic requirement.
SSH traffic (TCP port 22) from single host 192.168.1.10 to server 10.1.1.50 is identified.
Cisco ACLs process sequentially from top to bottom, stopping at the first match. More specific entries must be positioned above general ones.
2
Identify the broader permitted traffic requirement.
HTTP traffic (TCP port 80) from the entire 192.168.1.0/24 subnet to server 10.1.1.50 is placed next.
This permits web traffic for the broader subnet while allowing host 192.168.1.10 to have already matched its SSH permit entry on line 1.
3
Place the specific deny statement for remaining traffic destined to the server.
The entry 'access-list 105 deny ip any host 10.1.1.50' is placed after all permit entries.
Placing a deny rule above any permit rules would cause matching traffic to be dropped prematurely.

Anahtar Kavram

Cisco IPv4 ACL Top-Down Sequential Evaluation
Soru 75Soru

A network engineer must construct an IPv4 extended Access Control List (ACL) on a Cisco IOS router to enforce the following security policy requirements for traffic originating from subnet 10.20.1.0/2410.20.1.0/24 destined for the server subnet 172.16.10.0/24172.16.10.0/24:

1. Host 10.20.1.510.20.1.5 must be permitted to access SSH (TCP port 22) on the server subnet.
2. Host 10.20.1.510.20.1.5 must be denied all other TCP traffic to the server subnet.
3. All other hosts on subnet 10.20.1.0/2410.20.1.0/24 must be permitted HTTP (TCP port 80) access to the server subnet.
4. All remaining IPv4 traffic from subnet 10.20.1.0/2410.20.1.0/24 to the server subnet must be dropped.

Arrange the ACL statements in the correct top-down sequence (from top/sequence 10 to bottom/sequence 40) to properly enforce this security policy.

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

Cevabı ve açıklamayı göster

Cevap

The correct order of ACL statements from top to bottom is: permit tcp host 10.20.1.5 172.16.10.0 0.0.0.255 eq 22, followed by deny tcp host 10.20.1.5 172.16.10.0 0.0.0.255, followed by permit tcp 10.20.1.0 0.0.0.255 172.16.10.0 0.0.0.255 eq 80, and finally deny ip 10.20.1.0 0.0.0.255 172.16.10.0 0.0.0.255.
Cisco IPv4 Access Control Lists evaluate statements sequentially from top to bottom until a first match occurs. To enforce host-specific exceptions within a larger subnet, more specific rules (host 10.20.1.5 permits and denies) must precede general rules (subnet 10.20.1.0/24 permits and denies). Placing the SSH permit for host 10.20.1.5 first guarantees SSH functionality. Placing the TCP deny for host 10.20.1.5 second prevents host 10.20.1.5 from matching the subnet HTTP permit rule placed third. Finally, the subnet-wide IP deny statement catches all other traffic from the subnet.

Adım Adım Çözüm

1
Identify the most specific exception rule for host 10.20.1.5.
The permit statement for SSH (TCP port 22) for host 10.20.1.5 must be evaluated first.
Cisco ACLs process statements top-down until a match occurs. Placing host 10.20.1.5's SSH permit rule at the top ensures SSH traffic is not dropped by subsequent deny rules.
2
Block all remaining TCP traffic for host 10.20.1.5.
Place 'deny tcp host 10.20.1.5 172.16.10.0 0.0.0.255' second.
Host 10.20.1.5 belongs to the 10.20.1.0/2410.20.1.0/24 subnet. If the general HTTP permit rule for the subnet were placed above this statement, host 10.20.1.5 would accidentally be permitted HTTP access.
3
Permit HTTP traffic for the rest of the 10.20.1.0/2410.20.1.0/24 subnet.
Place 'permit tcp 10.20.1.0 0.0.0.255 172.16.10.0 0.0.0.255 eq 80' third.
Since host 10.20.1.5 has already matched earlier statements for its allowed/denied TCP traffic, remaining hosts in 10.20.1.0/2410.20.1.0/24 reach this step and are permitted HTTP access.
4
Catch all remaining IPv4 traffic from the source subnet.
Place 'deny ip 10.20.1.0 0.0.0.255 172.16.10.0 0.0.0.255' last.
This explicitly drops any non-HTTP traffic from 10.20.1.0/2410.20.1.0/24 to 172.16.10.0/24172.16.10.0/24 before reaching the implicit deny any clause.

Anahtar Kavram

Top-Down Sequential Processing and Specific-to-General Ordering in IPv4 Extended ACLs
Soru 76Soru

Router R1 learns routes to the remote destination subnet 172.16.50.0/24172.16.50.0/24 via OSPF, which operates with a administrative distance of 110. A network administrator wants to manually configure a backup floating static route toward 172.16.50.0/24172.16.50.0/24 using next-hop IP address 192.168.12.2192.168.12.2. This backup route must remain inactive in the routing table unless the primary OSPF route fails. Which command must be configured on router R1?

Cevabı ve açıklamayı göster

Cevap: ip route 172.16.50.0 255.255.255.0 192.168.12.2 120

Cevap

The command 'ip route 172.16.50.0 255.255.255.0 192.168.12.2 120' correctly configures the floating static route with an administrative distance higher than OSPF.
A floating static route requires an Administrative Distance higher than that of the primary routing protocol. Since OSPF has an AD of 110, setting the static route AD to 120 ensures it will only be installed in the routing table if the OSPF route disappears.

Adım Adım Çözüm

1
Identify the primary dynamic routing protocol and its administrative distance (AD).
OSPF is the primary routing protocol with an AD of 110.
Floating static routes rely on Administrative Distance ranking to remain inactive until primary routes fail.
2
Determine the required AD for the floating static backup route.
The AD of the static route must be configured to a value strictly greater than 110 (such as 120).
Cisco IOS router forwarding logic installs routes with lower AD values into the IP routing table first.
3
Validate Cisco IOS static route syntax including destination, mask, next-hop IP, and AD.
'ip route 172.16.50.0 255.255.255.0 192.168.12.2 120' fulfills all parameters accurately.
The AD parameter is appended at the end of the 'ip route' command string.

Anahtar Kavram

Floating Static Route Administrative Distance Configuration
Soru 77Soru

Match each Layer 2 security feature on the left with its primary mitigation purpose or operation on the right.

Soldaki öğeye tıklayın, sonra eşleşen sağdaki öğeye tıklayın

Öğeler

Port Security
DHCP Snooping
Dynamic ARP Inspection (DAI)

Eşleşmeler

Cevabı ve açıklamayı göster

Cevap

Port Security matches limiting ingress traffic based on source MAC addresses. DHCP Snooping matches filtering untrusted DHCP messages and building the IP-to-MAC binding database. Dynamic ARP Inspection (DAI) matches intercepting and verifying ARP packets against a binding database to prevent ARP poisoning.
Each feature secures a distinct Layer 2 operation: Port Security controls MAC-level access, DHCP Snooping filters DHCP traffic while tracking legitimate IP-MAC assignments, and DAI utilizes those assignments to drop spoofed ARP frames.

Adım Adım Çözüm

1
Identify the role of Port Security.
Port Security operates at the MAC layer to restrict ingress traffic based on authorized source MAC addresses.
It prevents unauthorized devices from attaching to a switch port.
2
Identify the role of DHCP Snooping.
DHCP Snooping blocks unauthorized DHCP servers and records valid IP-to-MAC address assignments in its binding database.
It ensures rogue DHCP servers cannot distribute invalid network configurations and provides binding context for other features.
3
Identify the role of Dynamic ARP Inspection (DAI).
DAI inspects ARP packets and uses the DHCP snooping binding database to validate ARP requests and responses.
It prevents man-in-the-middle attacks caused by malicious ARP poisoning or spoofing.

Anahtar Kavram

Layer 2 Security Features (Port Security, DHCP Snooping, DAI)
Soru 78Soru

A network administrator configures an IPv4 extended numbered Access Control List (ACL 110) on a Cisco IOS router interface to prevent web traffic on TCP port 80 from reaching an internal web server at 192.168.10.50/32. The administrator enters the following single configuration command:

`R1(config)# access-list 110 deny tcp 10.1.1.0 0.0.0.255 host 192.168.10.50 eq 80`

ACL 110 is then applied inbound on the GigabitEthernet0/0 interface serving subnet 10.1.1.0/24. Immediately after applying the ACL, users on the 10.1.1.0/24 network report that all network communication is blocked, including ICMP pings, SSH access, and traffic destined for other subnets. Which configuration oversight is causing all traffic from subnet 10.1.1.0/24 to be dropped?

Cevabı ve açıklamayı göster

Cevap: The ACL lacks an explicit permit statement, causing all unlisted IPv4 traffic to be dropped by the default implicit deny any clause at the end of the list.

Cevap

The ACL lacks an explicit permit statement, causing all unlisted IPv4 traffic to be dropped by the default implicit deny any clause at the end of the list.
Every standard and extended Cisco IPv4 ACL concludes with an unwritten, invisible implicit deny clause ('deny ip any any'). When an ACL contains only a deny statement, any traffic that does not meet the specific deny criteria drops through to the implicit deny clause and is blocked. To fix this, a network administrator must configure a subsequent permit statement (such as 'access-list 110 permit ip any any') to allow all other traffic to pass through.

Adım Adım Çözüm

1
Analyze the sequential evaluation of IPv4 Access Control Lists in Cisco IOS.
Cisco ACLs process statements sequentially from top to bottom until a match occurs.
If a packet matches a specific permit or deny statement, no further statements in the list are evaluated.
2
Examine the default behavior when a packet reaches the end of an ACL without matching any explicit statement.
An invisible 'deny ip any any' statement exists at the end of every IPv4 ACL.
Traffic that does not match an explicit permit rule is automatically dropped.
3
Evaluate the configured ACL 110 against non-HTTP traffic (e.g., ICMP, SSH, or web traffic to other hosts).
Non-HTTP traffic does not match the single 'deny tcp ... eq 80' rule and falls through to the implicit deny statement.
To allow remaining legitimate traffic, an explicit 'access-list 110 permit ip any any' rule must be appended after the deny statement.

Anahtar Kavram

Implicit Deny Any Clause in IPv4 ACLs
Soru 79Soru

A network administrator is creating an IPv4 extended named Access Control List (ACL) called `MGMT_FILTER` to enforce security policies on a router interface. The policy mandates the following conditions:
- Permit HTTP (8080) and SSH (2222) traffic originating from subnet 192.168.1.0/24192.168.1.0/24 destined to a specific management server at 10.0.5.1010.0.5.10.
- Deny all other IP traffic from subnet 192.168.1.0/24192.168.1.0/24 destined to subnet 10.0.5.0/2410.0.5.0/24.
- Allow all remaining IPv4 traffic traversing the interface to reach other destinations.

Which TWO statements or configuration requirements are necessary to correctly fulfill this policy? (Select TWO.)

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

Cevabı ve açıklamayı göster

Cevap: Place `permit tcp 192.168.1.0 0.0.0.255 host 10.0.5.10 eq 80` and `permit tcp 192.168.1.0 0.0.0.255 host 10.0.5.10 eq 22` prior to the subnet deny entry.; Add an explicit `permit ip any any` entry at the end of the access list sequence.

Cevap

The policy requires placing specific TCP permit statements for HTTP and SSH to host 10.0.5.10 before the broader subnet deny rule, and appending an explicit 'permit ip any any' at the end of the ACL to override the default implicit deny.
The solution requires two essential steps: placing specific permit statements for HTTP and SSH to host 10.0.5.10 ahead of the broader subnet deny rule (so specific allowed traffic is processed first), and adding an explicit 'permit ip any any' statement at the bottom of the ACL to override the invisible implicit 'deny ip any any' clause that would otherwise block all other traffic.

Adım Adım Çözüm

1
Evaluate Top-Down Sequential Processing
Specific host rules must be placed above general subnet rules.
Cisco IOS processes ACL entries sequentially. If the subnet deny rule for 10.0.5.0/24 were placed first, traffic to 10.0.5.10 on ports 80 and 22 would match the deny rule and be dropped before hitting the permit rules.
2
Account for Implicit Deny Behavior
An explicit 'permit ip any any' line must be added to the end of the ACL.
All Cisco ACLs end with an invisible implicit 'deny ip any any' statement. To permit traffic destined for other subnets outside 10.0.5.0/24, an explicit permit all rule is required at the end.

Anahtar Kavram

Access Control List (ACL) Evaluation Order and Implicit Deny Behavior
Soru 80Soru

A network administrator is configuring IPv4 static routing on router R1. Router R1 currently learns the primary route to destination network 192.168.50.0/24192.168.50.0/24 via iBGP, which has an Administrative Distance of 200. The administrator must configure two static routes:
1. A standard static route to reach network 10.100.1.0/2410.100.1.0/24 via next-hop IPv4 address 172.16.1.2172.16.1.2.
2. A backup floating static route to reach network 192.168.50.0/24192.168.50.0/24 via next-hop IPv4 address 172.16.1.2172.16.1.2 that remains inactive until the primary iBGP route fails.

Which two `ip route` commands must the administrator configure on router R1?

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

Cevabı ve açıklamayı göster

Cevap: ip route 10.100.1.0 255.255.255.0 172.16.1.2; ip route 192.168.50.0 255.255.255.0 172.16.1.2 210

Cevap

The commands 'ip route 10.100.1.0 255.255.255.0 172.16.1.2' and 'ip route 192.168.50.0 255.255.255.0 172.16.1.2 210' are correct.
The command 'ip route 10.100.1.0 255.255.255.0 172.16.1.2' is correct because it follows standard IPv4 static route syntax to direct traffic destined for network 10.100.1.0/24 to next-hop address 172.16.1.2. The command 'ip route 192.168.50.0 255.255.255.0 172.16.1.2 210' is correct because a floating static route requires an Administrative Distance higher than the primary route (iBGP AD = 200); setting the AD to 210 ensures it remains inactive until the primary route fails.

Adım Adım Çözüm

1
Identify standard Cisco IOS static route syntax for network 10.100.1.0/24
ip route 10.100.1.0 255.255.255.0 172.16.1.2
Standard IPv4 static routes use the syntax 'ip route <destination-prefix> <subnet-mask> <next-hop-ip>' with a default Administrative Distance of 1.
2
Determine Administrative Distance requirement for the backup floating static route
Target Administrative Distance must be > 200
A floating static route acts as a backup only when its Administrative Distance is configured higher than the primary path's routing protocol (iBGP AD = 200).
3
Select the correct floating static route command
ip route 192.168.50.0 255.255.255.0 172.16.1.2 210
Specifying an Administrative Distance of 210 ensures the static route remains out of the routing table until the iBGP route (AD 200) is lost.

Anahtar Kavram

IPv4 Static Route Syntax and Floating Static Route Administrative Distance Selection
ÖncekiSayfa 4 / 100Sonraki
Tüm alıştırma soruları — Cisco CCNA | Examkin