Editing "Numbered" ACLs like "Named" ACLs
-
After watching your CCENT video on ACL's last evening I understood you to say that only "Named" ACLs could be edited without having to delete and replace the complete ACL. After reading the statement below from my CCENT book I'm alittle confused. Would you clarify for me please?
Today, modern IOS versions allow CLI users to easily edit both numbered and named ACLs. Cisco first introduced these enhanced ACL editing features in named ACLs only, and slowly added them to numbered ACLs as well.
Odom, Wendell (2013-03-27). Cisco CCENT/CCNA ICND1 100-101 Official Cert Guide (Kindle Locations 13767-13768). Pearson Education. Kindle Edition.
Thank you!
Terry Deckard
-
At one time, only "named" ACLs could be edited. It used to be where you couldn't just insert in a statement. You had to replace the entire thing. Notice that Mr. Odom talks about modern IOS versions allow it.
Don and I have learned something over time. That exams are based on the most modern and up to date equipment and IOS. In production networks, you may still run across older IOS that may not support the ability to easily work the ACLs. So a practice that happens is that when working with ACLs you might just copy the whole thing and paste it into notepad; modify or edit it, then paste the entire thing back in. That will work regardless of legacy or modern IOS. It might have been a slip of the tongue when he meant to say it used to be only "Named" acls...
If you can tell us the name of the episode and even the time mark, we can add errata into the show notes to cause less confusion. Thanks for pointing this out!
Cordially,
Ronnie Wong
Host, ITProTV -
@Ronnie-Wong
Ronnie,
Thank you. I forgot about the transcripts. I went back and searched and you did note that newer IOSs do allow you to edit older ACL types. Thanks for the follow up.With a named ACL, as you put your entries in, they're assigned line numbers, orsequence numbers.And because they're sequence numbers,you can insert entries in the middle of the list.And we couldn't do that with the old syntax,with the syntax we've seen this whole episode you can't do it.You have to delete the ACL and recreate it.With a named ACL you can.You can easily edit it.And in the newer iOS's, you can even go back and edit the old ACL styles too.
-
Yep, even we get stuck in our old habits. Also because it's easy to think you know what you're doing and stick a seq number in. Personally, I know it's faster and I should do it this way. I find myself still doing it "OLD School" well because that's how I learned it!
Cordially,
Ronnie Wong
Host, ITProTV