Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Reg:Access list

Reg:Access list 11 years 1 month ago #10477

  • Benny
  • Benny's Avatar
  • Offline
  • Frequent Member
  • Posts: 27
  • Karma: 0
How we can delete only one access list from a group?

What I actually mean is that it is possible for me to add the access list continuously (For ex: 200 ACL’s).But when i try to remove it all the 200 ACL’s is getting removed. Does anybody know how to remove only one ACL from a group?
The administrator has disabled public write access.

Re: Reg:Access list 11 years 1 month ago #10869

  • RedRanger
  • RedRanger's Avatar
  • Offline
  • Distinguished Member
  • Be Awesome
  • Posts: 136
  • Karma: 0
OK, lets say you have the following ACLs going on:

access-list 1 deny 192.168.1.2 0.0.0.255 eq 23
access-list 1 permit ip any any
access-list 200 deny 178.1.0.0 0.0.255.255 eq http
access-list 200 permit ip any any

and you want to remove one strand from an ACL? OK...watch closely:

router(config)#no access-list 1 deny 192.168.1.2 0.0.0.255 eq 23

or say that you want to remove an ACL on an Autonomous System number:

router(config)#no access-list 1

I hope that answers your question...I'm actually glad that you asked it. I need some review on ACLs before I get into the CCNA 4.
RedRanger

"I'd Rather You Hate Me For Everything I Am Than Love Me For Something I'm Not."

Be Awesome
The administrator has disabled public write access.

Re: Reg:Access list 11 years 1 month ago #10878

  • jwj
  • jwj's Avatar
  • Offline
  • Senior Member
  • Posts: 350
  • Karma: 0
If you are running a newer IOS version you can edit access-lists line by line. If you do (example) a show ip access-lists 10 it should output something like this:

10 permit 10.10.5.0 0.0.0.255
20 permit 192.168.50.0 0.0.0.255
30 deny any

So if you wanted to delete the second line, you'd go into config mode, and type:
router(config)#ip access-list standard 10
router(config-std-acl)#no 20 permit 192.168.50.0 0.0.0.255

You can add lines also. If your IOS is older, before 12.2(14) I believe, you'll have to copy your acl to a text document, edit out the line(s), delete the old access list on the router, and paste the new one in. It's a pain.
-Jeremy-
The administrator has disabled public write access.

Re: Reg:Access list 10 years 11 months ago #11943

  • Benny
  • Benny's Avatar
  • Offline
  • Frequent Member
  • Posts: 27
  • Karma: 0
Thanks Buddy
The administrator has disabled public write access.
Time to create page: 0.077 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup