Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

access-list newbie question

I was reading Cisco CCNA Exam 640-607 book by Odom and have a question about Example 8-7.

The author states that Cisco recommends placing access lists as close as possible to the packet's source.

In his example, though he chooses to apply the access-list on the two out serial ports rather than on the one in ethernet interface where the packets actually originate.

Is there some good reason for choosing out instead of in?

Is there a tradeoff of examing all incoming packets vs. examing a subset after the routing decision has already been made?

The example shows this as the correct configuration::

interface serial0

ip address

ip access-group 101 out

interface serial1

ip address

ip access-group 101 out

access-list 101 deny tcp host eq ftp

access-list 101 permit ip any any

I want to know why the following is not more efficient or more correct since it would be closed to the packet's source:

interface ethernet0

ip address

access-group 101 in

access-list 101 deny tcp host eq ftp

access-list 101 permit any any


Re: access-list newbie question

Checking an access list does introduce a significant overhead. If the router had multilple LAN interfaces and only some traffic was to be routed over the serial interfaces , then you may not wish to incurr the overhead of having every frame leaving the lan processed for the access list, in which cas it makes more sense to put it on the outbound serial interfaces.

New Member

Re: access-list newbie question


In my poing of view, the interpretation of the statement "The access list shd be put closer to the packet source" is different. Actually, it is talking closer in terms of router, not in terms of interfaces. If you read first line of page 508, it says "It is close to the source, being in R3." The statement doesn't talk about the interfaces at all. Also, it doesn't matter much, whether it is on serial or ethernet, because in any case, all the packets coming from Bob's pc will be checked once at serial/ethernet interface. May be, the author put on serial to maintain the consistency with other examples.

CreatePlease to create content