I've marked your first answer as "best" although there is nothing visible on the answer itself to let everyone know. At least nothing that I can see.
(EDIT) Sorry, there is in fact at link at the top of the page to jump to the best answer.
Original Message:
Sent: Oct 07, 2026 09:33 AM
From: DB86
Subject: Aruba 6300M (JL660A) per-vlan rate limiting on a tunk port
Chris, did the CIR plus CBS explanation square with what you're seeing on VLAN 76? If you'd like the conform figure to sit nearer 20 Mbps, try a smaller cbs on that one policy and watch the hitcounts again. If it's all sorted, marking the reply that helped as the solution would point the next person straight to it.
------------------------------
Dustin Burns
@Worldcom Exchange, Inc.
www.wei.com
- - -
The comments I post here are my own, and not my employers
If my post was useful accept solution and/or give kudos
Personal Blog: www.networkfieldnotes.com
- - -
------------------------------
Original Message:
Sent: Sep 30, 2026 10:36 AM
From: CS-pJi358
Subject: Aruba 6300M (JL660A) per-vlan rate limiting on a tunk port
Thank you Dustin
Since I wrote the post it has become clear to us that using the same policy on every VLAN does indeed share the allocated bandwidth across all VLANs, hence all the complaints from users!
As a result, I've given each VLAN its own individual policy, and applied it both inbound and outbound in the VLAN configuration. Despite your reservations about it working only in the inbound direction, "show policy hitcount" suggests that it does in fact work both ways
class ip CLASS-MATCH-ANY
10 match any any any
#
policy POLICY-VLAN76-20MBPS
10 class ip CLASS-MATCH-ANY action cir kbps 20000 cbs 1250304 exceed drop
#
vlan 76
name **********
apply policy POLICY-VLAN76-20MBPS in
apply policy POLICY-VLAN76-20MBPS out
#
SWITCH-6300M# show policy hitcounts POLICY-VLAN76-20MBPS
vlan 76 (in):
Matched Packets Configuration
10 class ip CLASS-MATCH-ANY action cir kbps 20000 cbs 1250304 exceed drop [ 6120 kbps conform ]
- 10 match any any any
vlan 76 (out):
Matched Packets Configuration
10 class ip CLASS-MATCH-ANY action cir kbps 20000 cbs 1250304 exceed drop [ 4133 kbps conform ]
- 10 match any any any
However, even when the utilisation figure shows something higher that 20Mbps, it still says e.g. "22000 kbps conform", where I had expected some kind of reference to drop rate as well. But in any case, speed tests do show that the allocated bandwidth is being enforced correctly.
Thanks for the hints about "class ip" hitting only IPv4. As and when we start using IPv6 then I can revisit the policies, although there will be a decision to be made about how we would allocate bandwidth across both IPv4 and IPv6, given that they need different classification.
Regards,
ChrisSW.
Original Message:
Sent: Sep 30, 2026 07:34 AM
From: DB86
Subject: Aruba 6300M (JL660A) per-vlan rate limiting on a tunk port
The config is valid, and per VLAN is the right place for it, but I wouldn't count on each VLAN getting its own 20 Mbps. The AOS-CX Classifier Policies Guide page on apply policy says the default is to share a policy across everything it's applied to, and the per-interface keyword that splits the policers only exists on ports and LAGs, not in the VLAN context: https://arubanetworking.hpe.com/techdocs/AOS-CX/10.16/HTML/acls_6300-6400-8100-8360/Content/Chp_Cls_Pol/Cls_Pol_cmds/app-pol-int-vla-vla-int-con.htm
So every VLAN on the 20 Mbps policy can end up drawing from one bucket. The safe fix is one policy per VLAN (policy copy makes that quick), so each VLAN gets its own policer. Also, class ip only matches IPv4, and traffic no entry matches passes untouched, so add class ipv6 and class mac entries if you want everything capped.
The out direction is the other thing to check, because the guide describes policing as metering inbound traffic: https://arubanetworking.hpe.com/techdocs/AOS-CX/10.14/HTML/acls_6300-6400-8100-8360/Content/Chp_Cls_Pol/typ-pol-act.htm. Run show policy hitcounts <policy> vlan 29 in, then out, while you push traffic, and you'll see what's actually being dropped.
------------------------------
Dustin Burns
@Worldcom Exchange, Inc.
www.wei.com
- - -
The comments I post here are my own, and not my employers
If my post was useful accept solution and/or give kudos
Personal Blog: www.networkfieldnotes.com
- - -
------------------------------