06-22-2022 02:26 AM
Hello,
On 3750G/3750X switches is it possible to use a service-policy to limit the bandwidth of an IPV4/IPV6 subnet ?
In IPV4 only I have no problem but with IPV4 AND IPV6 I does not work...
The SDM is dual-ipv4-and-ipv6 default whith mls qos activated.
ipv6 access-list V6_ACL_DOWN-10M permit ipv6 any 2001:DB8:1234:5678::/64 deny ipv6 any any ! ipv6 access-list V6_ACL_UP-10M permit ipv6 2001:DB8:1234:5678::/64 any deny ipv6 any any ! ip access-list extended V4_ACL_DOWN-10M permit ip any host X.X.X.1 deny ip any any ip access-list extended V4_ACL_UP-10M permit ip host X.X.X.1 any deny ip any any ! ! ! match-any or match-all not work class-map match-all LIMIT_UP-10M match access-group name V4_ACL_UP-10M,V6_ACL_UP-10M class-map match-all LIMIT_DOWN-10M match access-group name V4_ACL_DOWN-10M,V6_ACL_DOWN-10M ! ! policy-map LIMIT_UP class LIMIT_UP-10M police 10000000 1000000 exceed-action drop policy-map LIMIT_DOWN class LIMIT_DOWN-10M police 10000000 1000000 exceed-action drop ! ! interface GigabitEthernet1/0/12 service-policy input LIMIT_DOWN ! interface GigabitEthernet1/0/1 service-policy input LIMIT_UP !
Thanks !
06-22-2022 02:43 AM
as per the information should work i guess here.: (not tested myself ipv6)
is that interface you apply service policy layer 2 or layer3 ports ?
06-22-2022 02:47 AM
The switch ports are in L2.
G1/0/1 is switchport mode access and G1/0/12 is in Trunk mode.
06-22-2022 02:51 AM
Hello,
I see where you made the IPv6 ACLs but didnt reference them in a class map. You will need to reference them in the class map to use them.
This might help
-David
06-22-2022 02:58 AM
Hello @David Ruess
I don't understand your answer ! Access-group name on Class-map refers to V4 and V6 ACLs.
06-22-2022 03:20 AM
Sorry I see it now. Is IPv6 enabled on the interface? Also you may need to use the match any and not match all statement.
Ex:
class-map match-any LIMIT_UP-10M match access-group name V4_ACL_UP-10M
Match access-group name V6_ACL_UP-10M
06-22-2022 03:11 AM - edited 06-22-2022 03:12 AM
policy-map LIMIT_UP
class LIMIT_UP-10M
police 10000000 1000000 exceed-action drop
class V6_LIMIT_UP-10M
police 10000000 1000000 exceed-action drop
policy-map LIMIT_DOWN
class LIMIT_DOWN-10M
police 10000000 1000000 exceed-action drop
class V6_LIMIT_DOWN-10M
police 10000000 1000000 exceed-action drop
!
3750G(config-if)# service-policy input LIMIT_UP
QoS: class(V6_LIMIT_UP-10M) IPv6 class not supported on interface GigabitEthernet1/0/1
I'm bad
06-22-2022 06:17 AM
I just saw your reply. I had also tried adding a class V6 but that didn't work either...
I have the impression that must be a limitation on the IPV6??
QoS: class(LIMIT_UP-10M) Unsupported classification [GigabitEthernet1/0/1]
QoS: class(V6_LIMIT_UP-10M) IPv6 class not supported on interface GigabitEthernet1/0/1
06-22-2022 11:41 PM
Hello,
Do you know if it is possible to limit IPV4 and IPV6 bandwidth on a port with ACLs ?
Thanks
06-22-2022 11:49 PM
M.
06-23-2022 12:00 AM
I would like to know if such a configuration is possible :
ipv6 access-list V6_ACL_DOWN-10M permit ipv6 any 2001:DB8:1234:5678::/64 deny ipv6 any any ! ipv6 access-list V6_ACL_UP-10M permit ipv6 2001:DB8:1234:5678::/64 any deny ipv6 any any ! ip access-list extended V4_ACL_DOWN-10M permit ip any host X.X.X.1 deny ip any any ip access-list extended V4_ACL_UP-10M permit ip host X.X.X.1 any deny ip any any ! ! class-map match-any LIMIT_UP-10M match access-group name V4_ACL_UP-10M match access-group name V6_ACL_UP-10M class-map match-any LIMIT_DOWN-10M match access-group name V4_ACL_DOWN-10M match access-group name V6_ACL_DOWN-10M ! ! policy-map LIMIT_UP class LIMIT_UP-10M police 10000000 1000000 exceed-action drop policy-map LIMIT_DOWN class LIMIT_DOWN-10M police 10000000 1000000 exceed-action drop ! ! interface Ethernet1/1 service-policy input LIMIT_DOWN ! interface Ethernet1/2 service-policy input LIMIT_UP !
06-23-2022 12:23 AM
why not follow the one you are already having discussion, instead opening the same with a new thread :
06-23-2022 12:30 AM
Because it is not possible to limit IPV6 AND IPV4 at the same time on the Catalyst 3750G.
Same problem on 3750-X :
%QOS-6-POLICY_INST_FAILED:
Service policy installation failed
I want to know if possible to do it on NEXUS before taking a Nexus...
06-27-2022 08:32 AM
Nobody ?
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