Showing posts with label Modifying an ACL. Show all posts
Showing posts with label Modifying an ACL. Show all posts

Monday, 12 March 2012

Modifying an ACL

Consider the following ACL as displayed by the show command
R1#show access-lists
Extended IP access list 101
    1 permit ip host 10.1.1.1 host 11.1.1.1
    2 permit ip host 12.1.1.1 host 13.1.1.1
    3 deny tcp host 14.1.1.1 host 15.1.1.1 eq www
    4 permit ip host 14.1.1.1 host 15.1.1.1
    5 deny tcp host 16.1.1.1 host 17.1.1.1 eq www
    6 permit ip host 16.1.1.1 host 17.1.1.1
R1#

The configuration looks like this
access-list 101 permit ip host 10.1.1.1 host 11.1.1.1
access-list 101 permit ip host 12.1.1.1 host 13.1.1.1
access-list 101 deny   tcp host 14.1.1.1 host 15.1.1.1 eq www
access-list 101 permit ip host 14.1.1.1 host 15.1.1.1
access-list 101 deny   tcp host 16.1.1.1 host 17.1.1.1 eq www
access-list 101 permit ip host 16.1.1.1 host 17.1.1.1

It turns out that a new ACL entry needs to be added. The entry is
access-list 101 deny tcp host 12.1.1.1 host 13.1.1.1 eq www

and needs to be added as the second entry in ACL 101 shown above.

What is the most efficient way of adding this entry to the ACL?

CCNA 3 Final Exam Answers 2012 | CCNA Answers - CCNA Exam - CCNA Exams Headline Animator

Search Here

Search Term:
Yahoo bot last visit powered by MyPagerank.Net
Sign up for PayPal and start accepting credit card payments instantly.

Chitika