Question

Difficulty: MediumAccess Control Lists (Standard and Extended IPv4 ACLs)

A network administrator configures a numbered standard IPv4 access control list on a Cisco IOS router to permit management access from the Network Operations Center (NOC) subnet 192.168.10.0/24192.168.10.0/24 while blocking all other hosts. The administrator enters the following commands:

text
Router(config)# access-list 15 permit 192.168.10.0 0.0.0.255
Router(config)# line vty 0 4
Router(config-line)# access-class 15 in

After applying this configuration, which traffic outcome occurs when an administrator at IP address 192.168.10.45192.168.10.45 attempts an SSH connection to the router's VTY interface, and why?

  1. The SSH session is permitted because the source IP address matches the permit entry in ACL 15.Answer
  2. B
    The SSH session is denied because standard access control lists cannot filter traffic applied to VTY lines.
  3. C
    The SSH session is denied because an explicit permit ip any statement is missing at the end of ACL 15.
  4. D
    The SSH session is permitted only if an explicit deny entry is added to block other subnets.

Answer

The SSH connection attempt from IP address 192.168.10.45 is permitted because it matches the permit statement for network 192.168.10.0 with wildcard mask 0.0.0.255 in access-list 15.
The incoming SSH connection attempt originates from 192.168.10.45, which falls inside the 192.168.10.0/24 IP network range matched by wildcard mask 0.0.0.255. When the packet is checked against access-list 15 applied inbound on the VTY lines via the access-class command, it hits the first rule, matches, and is permitted.

Step-by-Step Solution

1
Analyze the ACL entry network range and wildcard mask
Network 192.168.10.0 with wildcard mask 0.0.0.255 matches source IP addresses in the range 192.168.10.0 to 192.168.10.255.
Wildcard mask bits of 0 require exact matching of octet values, while 255 allows any value in the fourth octet.
2
Evaluate the incoming SSH source IP address against ACL 15 sequentially
IP address 192.168.10.45 matches the first statement: access-list 15 permit 192.168.10.0 0.0.0.255.
ACL processing evaluates statements top-down until a match is found.
3
Determine line VTY access policy application
Traffic matching a permit line in an access-class in ACL applied to line vty is allowed through to establish the administrative management connection.
Once a permit match occurs, ACL evaluation terminates and the action specified in the matched statement (permit) is executed.

Key Concept

Standard IPv4 ACL Evaluation and VTY Line Application
Rate this question