background image
466 Chapter 7: Understanding Access List Security
Extended IP Access Lists
Extended IP access lists are almost identical to standard IP access lists in their use. The key
difference between the two types is the variety of fields in the packet that can be compared for
matching by extended access lists. To pass the CCNA exam, you must remember all the items
that an extended IP access list can check to make a match. As with standard lists, extended
access lists are enabled for packets entering or exiting an interface. The list is searched
sequentially; the first statement matched stops the search through the list and defines the action
to be taken. All these features are true of standard access lists as well. The matching logic,
however, is different than that used with standard access lists and makes extended access lists
much more complex.
Figure 7-4 shows several of the fields in the packet headers that can be matched. The top set of
headers shows the IP protocol type, which identifies what header follows the IP header. The
source and destination IP addresses are also shown. In the second set of headers in the figure,
an example with a TCP header following the IP header is shown. The TCP source and
destination port numbers are listed in the abbreviated TCP header shown in the figure. Table
7-5 provides the complete list of items that can be matched with an IP extended access list.
Figure 7-4
Extended Access List Matching Options
Table 7-5
IP Standard and Extended Access Lists--Matching
Type of Access List
What Can Be Matched
IP Standard
Source IP address
Portions of the source IP address, using a wildcard mask
9
1
2
4
4
Variable
IP Header
Miscellaneous
Header
Fields
Protocol
Type
Header
Checksum
Source IP
Adrdress
Destination IP
Address
Options
TCP, UDP
ICMP,
IGRP, IGMP,
9
1
2
4
4
Variable
IP Header
Miscellaneous
Header
Fields
Protocol
6 (TCP)
Header
Checksum
Source IP
Adrdress
Destination IP
Address
Options
Source
Port
Dest.
Port
Rest
of
TCP
TCP
Defines What's Over Here
2
2
16+
ch07.fm Page 466 Monday, March 20, 2000 5:14 PM