We help IT Professionals succeed at work.
Get Started

Cisco Router ACLs - Add entry

1,572 Views
Last Modified: 2012-08-18
I have done done anything with Cisco routers in years, but since the person that normally does this is out, I need to update an ACL on the router.  This is what I have:

An inbound ACL called "ip access-group 101 in" under a GB interface in the config.  There are a bunch of rules in the config in the following format:

access-list 101 permit tcp host 192.168.1.2 host 192.168.1.3 eq domain

What I'd like to do is simply add another rule to the end that blocks anything from 10.10.10.10.  I remember something about having to completely get rid of the ACL then cut and paste from a text file.  But is this necessary if I just want to append to the 101 ACL? Will this work ok (just add to the end of 101):

Router> enable
Router# config t
Router(config)# access-list 101 deny ip 10.10.10.10 0.0.0.0 any
Router(config)#exit
Router# show access-list 101

I just want to make sure I'm not missing anything.  I don't want to inadvertently take down the whole ACL. I may also need to add a few rules to allow a new system to access dns servers as well:

Router(config)# access-list 101 permit tcp host 10.10.3.3 host 192.168.1.50 eq domain
Router(config)# access-list 101 permit udp host 10.10.3.3 host 192.168.1.50 eq domain

Router is a Cisco 2821 Version 12.1
Comment
Watch Question
Commented:
This problem has been solved!
Unlock 3 Answers and 7 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE