Solved

how to edit access list

Posted on 2008-10-25
1
458 Views
Last Modified: 2012-05-05
i have created a extended list name TEST
how can i add or delete a entry from that list
0
Comment
Question by:ammadeyy2020
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 50

Accepted Solution

by:
Don Johnston earned 500 total points
ID: 22803230
If you have 12.3 code (or late 12.2), you can insert lines using the sequence numbers. When you view the ACL with the "show access-list" command, each line will have a number in front of it (10, 20, 30, etc.). To insert a line between 20 and 30, just precede the command with a number between 20 and 30 (i.e. 25).

To delete a line:
conf t
ip access-list standard TEST
no permit 10.3.3.3 0.0.0.0
end

http://www.cisco.com/en/US/docs/ios/12_2s/feature/guide/fsaclseq.html


Router# show access-list TEST
Standard IP access list TEST
 
 10 permit 10.3.3.3 0.0.0.0
 20 permit 172.16.0.0 0.0.255.255
 30 deny 172.17.1.5 0.0.0.0
 40 permit 172.17.0.0 0.0.255.255
 
conf t
ip access-list standard TEST
35 deny 172.17.1.6 0.0.0.0
end

Open in new window

0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question