Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACL change doesn't show

Status
Not open for further replies.

sikek

MIS
Sep 15, 2003
170
US
I added a host to an existing ACL config below and when i do a
show run i don't see the changes along with show access-list command. any ideas



access-list 5 permit 10.10.30.18
 
is this before or after a reboot ?

also ACL's have a deny any any at the end. so you will have to redo the whole ACL to add that line in ...

do a show run, copy all the access-list 5 statements into notepad
do a no access-list 5 in global config
in notepad add access-list 5 permit 10.10.30.18
then past the new acl in....

wr mem

and that should do it.

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Unless you are running really old code like below 12.2T train you don't have to remove anything just go into acl config mode and make the changes , you can also put the entry anywhere in the list the prefix number , you can see the prefix numbers with the show access-list command. Prefix number is optional and used if you want to put the entry in a specific spot in the list , if you don't use it the entry will be put at the bottom of the list.

conf t
ip access-list standard 5 -- puts you into ACL config mode <prefix number>permit 10.10.30.18
 
For single device it may be "permit host xxx.xxx.xxx.xxx . It may not be taking because the syntax is incorrect.
 
No i haven't tried rebooting the unit yet. But i'll give both options a try thanks again.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top