Extended named ACLs offer a flexible way to control network traffic by combining descriptive naming with granular permit and deny rules applied directly to VLAN interfaces.
Extended Named ACL
This is my network right here. I'm on the demo laptop, and the demo laptop has three IP addresses that are assigned to it on the speedlan 10: one ending in .34, one in .35, and one in .244. What I'm doing down here in the bottom side is, from each of those IP addresses I'm pinging the switch over here, and you can see that I'm getting replies from all of them.
So what I'm going to do is a named extended access list, and we're going to program it and actually apply it to VLAN 10.
Let's jump on our switch here. I'm going to get into the global configuration mode and I'm going to type in ip access-list. One of the differences here is, notice that the IP is at the front of this, so for a named access list I put an IP at the front of this. The next one I'm going to do is, since it's not numbered, a number gives away whether it's a standard or extended, so since it's not numbered I have to put extended in here.
Let's do a question mark. I just want to show you something: I actually can still put a number in here, so I still can turn this into a numbered access list. But what I want to do is give this a name, so I'm just going to call it my ACL. That's an amazing name for this.
We're now editing the ACL, so I'm going to allow traffic from the demo laptop. Actually all of the rest of this is pretty much the same that we have been working with, that I worked with before, so I'm just going to copy this. I'm going to put that all into play.
The next thing I'm going to do is get into interface VLAN 10, and then I want ip access-group my ACL and N. I'm going to paste that into there and we'll hit enter. I no longer can ping from the 244, and that's because I am denying anything from that network after I already permitted from the .34 and the .35. So this is behaving as I would expect.
Now what if I want to back out the changes? I'll just put a no in front of these same statements. I can back out the one applied to the interface, and then I can also back out the ACLs and take the ACL off. And there we have it, so changes are backed out.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →