IP Access Lists

IP Access Lists

What is an Access List?

Access lists are used to control and manage access of interesting and non interesting traffic. Access lists are powerful tools for controlling access both to and from network segments. They can filter uninteresting packets and be used to implement security policies. Using the right combination of access lists, network managers will be armed with the power to enforce nearly any access policy they can invent. After the lists are built, they can be applied to either inbound or outbound traffic on any interface. By applying access lists can effect router to analyze each packet by crossing the interface at specific direction and also take action.

Basic Rules for IP Access Lists

There are a few important rules that a packet should follows when it's being compared with an access list:

Types of IP Access Lists

There are two types of IP access lists used:

After creating an IP access list, you apply it to an interface with either an inbound or outbound list:

Guidelines for Creating and Implementing IP Access Lists

There are also some guidelines that should be followed when creating and implementing IP access lists on a router:

Standard IP Access Lists Example

The standard IP access lists filter the network by using the source IP address in an IP packet. You could create a standard IP access list by using the access list numbers 1-99.


Router # configure terminal
Router (config) # access-list 10 deny 172.16.40.0 0.0.0.255
Router (config) # access-list 10 permit any
Router (config) # interface e0
Router (config-if) # ip access-group 10 out

Extended IP Access Lists Example

The extended IP access lists allow you to choose your source and destination IP address as well as the protocol and the logical port number, which identify the upper-layer protocol or application. By using extended IP access lists, you can effectively allow access to a physical LAN and stop them from using certain services. You'll use the extended IP access list range from 100 to 199.


Router # configure terminal
Router (config) # access-list 110 deny tcp any host 172.16.10.5 eq 21
Router (config) # access-list 110 deny tcp any host 172.16.10.5 eq 23
Router (config) # access-list 110 permit ip any any

Monitoring IP Access Lists

It is important to be able to verify the access list configuration on a router. The following commands can be used to verify the access list configuration

Show access-list: This command displays all access lists and their parameters configured on the router. This command does not show you that on which interface the list is set.

Show ip access-list: This command shows only the IP access lists configured on the router.

Show ip access-list access list no: This command displays the detail of the specific IP access list configured on the router.

Show ip interface interface no: This command shows that which interfaces have access lists set and in which direction.

Show running-config: This command shows the access lists configuration and the interfaces status.



Top 5 Free Networking Tools

Bookmark IP Access Lists

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.