08-04-2016 05:45 AM - edited 03-08-2019 06:52 AM
It's it normal to have layer 3 ACLs on an access switch? The ACLs are being used for QOS policys (ie voice, video) that are then applied to the interfaces. My question is, isn't everything at this switch going to be layer 2?
For reference here is an example...
ip access-list extended VOIP-SIGNAL
permit tcp 10.11.30.0 0.0.1.255 any eq 1720
permit udp 10.11.30.0 0.0.1.255 any eq 1719
ip access-list extended VOIP
permit udp 10.11.30.0 0.0.1.255 any range 2048 5001
ip access-list extended Media-VLANs
permit ip 10.11.20.0 0.0.1.255 any
permit ip 10.11.30.0 0.0.1.255 any
permit ip 10.11.40.0 0.0.1.255 any
permit ip 10.11.50.0 0.0.1.255 any
permit ip 10.11.60.0 0.0.1.255 any
permit ip 10.11.70.0 0.0.1.255 any
permit ip 10.11.80.0 0.0.0.255 any
permit ip 10.11.90.0 0.0.0.255 any
permit ip 10.11.100.0 0.0.0.255 any
Also, the switch is a 4510R+E
08-04-2016 06:00 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
On a "true" L2 switch, you're correct, L3 ACLs shouldn't be supported. But, many of Cisco's L2 switches are L2 Enhanced or L2 Plus, marketing speak for they support some L3 related features. (Also, a L3 switch might be used without it routing, so even though it's acting in a L2 role, it still has its other L3 features.)
[edit]
PS:
BTW, unless your 4510 has a very old sup,likely its sup supports L3. (I'm not even sure whether the really recent sups even allow you to still disable IP routing.)
Oh, and to your question whether using an ACL at the edge is normal, well if you're doing QoS, often it's good to verify and/or reclassify ingress traffic right at the edge ingress port, so if the switch supports it, an ingress policy using (L3) ACLs might be "normal".
08-04-2016 06:00 AM
Ok, so I'm seeing that the 4510R is one of these switches that can work in L2/L3 but I guess I just don't understand the use case. Everything coming and going from these ports should be Layer 2 I thought? I guess I need to do some reading on how this works.
08-04-2016 06:07 AM
Just saw your reply, after amending my OP. The last paragraph might address your usage question.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide