CCNA 4 v6.0 Study Material – Chapter 4: Access Control Lists

CCNA 4 Connecting Networks Original source

Chapter 4 - Sections & Objectives

4.1 Standard ACL Operation and Configuration Review

ACLs and the Wildcard Mask

An IPv4 ACE includes the use of a wildcard mask to filter IPv4 addresses.

Applying ACLs to an Interface

A TCP Conversation

TCP segments are marked with flags that denote their purpose:

The TCP data segment also identifies the port which matches the requested service.

ACL Packet Filtering

Packet filtering controls access to a network by analyzing the incoming and outgoing packets and forwarding them or discarding them based on given criteria.

Standard and Extended IPv4 ACLs

Two types of Cisco IPv4 ACLS:

Numbered and Named ACLs

Standard and extended ACLs can be created using either a number or a name to identify the ACL.

Where to Place ACLs

Every ACL should be placed where it has the greatest impact on efficiency. The basic rules are:

Standard ACL Placement Example

The administrator wants to prevent traffic originating in the 192.168.10.0/24 network from reaching the 192.168.30.0/24 network.

Extended ACL Placement Example

The administrator wants to deny Telnet and FTP traffic from the 192.168.11.0/24 network to Company B’s 192.168.30.0/24 network. All other traffic from the .11 network must be permitted to leave Company A without restriction.

Configure a Standard IPv4 ACL

Router(config)# access-list access-list-number { deny | permit | remark } source [ source-wildcard ] [ log ]

Apply a Standard IPv4 ACL

Named Standard IPv4 ACLs

Verify ACLs

4.2 Extended IPv4 ACLs

Extended ACLs

Extended ACLs are used more often than standard ACLs because they provide a greater degree of control.

Filtering Ports and Services

Configuring Extended ACLs

The procedural steps for configuring extended ACLs are the same as for standard ACLs. The extended ACL is first configured, and then it is activated on an interface. However, the command syntax and parameters are more complex to support the additional features provided by extended ACLs.

Applying Extended ACLs to Interfaces

Filtering Traffic with Extended ACLs

Creating Named Extended ACLs

Verifying Extended ACLs

Editing Extended ACLs

Editing an extended ACL can be accomplished using the same process as editing a standard. An extended ACL can be modified using:

Editing an extended ACL via Sequence Numbers:

4.3 IPv6 ACLs

Types of IPv6 ACLs

Comparing IPv4 and IPv6 ACLs

Although IPv4 and IPv6 ACLs are very similar, there are three significant differences between them.

Configuring IPv6 Topology

Configuring IPv6 ACLs

There are three basic steps to configure an IPv6 ACL:

This IPv6 ACL does the following:

Applying an IPv6 ACL to an Interface

IPv6 ACL Examples

  1. The first two permit statements allow access from any device to the web server at 2001:DB8:CAFE:10::10.
  2. All other devices are denied access to network 2001:DB8:CAFE:10::/64.
  3. PC3 at 2001:DB8:CAFE:30::12 is permitted Telnet access to PC2 which has the IPv6 address 2001:DB8:CAFE:11::11.

  1. All other devices are denied Telnet access to PC2.
  2. All other IPv6 traffic is permitted to all other destinations.
  3. The IPv6 access list is applied to interface G0/0 in the inbound direction, so only the 2001:DB8:CAFE:30::/64 network is affected.

Verifying IPv6 ACLs

4.4 Troubleshoot ACLs

Inbound and Outbound ACL Logic

ACL Logic Operations

Troubleshooting IPv4 ACLs- Example 1

Host 192.168.10.10 has no Telnet connectivity with 192.168.30.12.

Troubleshooting IPv4 ACLs- Example 2

The 192.168.10.0/24 network cannot use TFTP to connect to the 192.168.30.0/24 network.

Troubleshooting IPv4 ACLs- Example 3

The 192.168.11.0/24 network can use Telnet to connect to 192.168.30.0/24, but this connection should not be allowed.

Troubleshooting IPv4 ACLs- Example 4

Host 192.168.30.12 is able to Telnet to connect to 192.168.31.12, but this connection should not be allowed.

Troubleshooting IPv4 ACLs- Example 5

Host 192.168.30.12 can use Telnet to connect to 192.168.31.12, but this connection should not be allowed.

Troubleshooting IPv6 ACLs- Example 1

R1 is configured with an IPv6 ACL to deny FTP access from the :10 network to the :11 network, but PC1 is still able to connect to the FTP server running on PC2.

Troubleshooting IPv6 ACLs- Example 2

R3 is configured with IPv6 ACL RESTRICTED-ACCESS that should enforce the following policy for the R3 LAN:

However, after configuring the ACL, PC3 cannot reach the 10 network or the 11 network, and it cannot SSH into the host at 2001:DB8:CAFE:11::11.

Troubleshooting IPv6 ACLs- Example 3

4.5 Chapter Summary

Summary

Download Slide PowerPoint (pptx):

← All CCNA 4 articles Home