• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

how to edit access list

i have created a extended list name TEST
how can i add or delete a entry from that list
1 Solution
Don JohnstonInstructorCommented:
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


Router# show access-list TEST
Standard IP access list TEST
 10 permit
 20 permit
 30 deny
 40 permit
conf t
ip access-list standard TEST
35 deny

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now