09-27-2025 01:44 AM - edited 09-27-2025 01:48 AM
Hii team ,
i create sub-interface and assign two ip's to it . i work on Cisco 7200 router
i want to set rate limit on both ip's
ip access-list extended ACL_2_646_PRIMARY
permit ip host 192.168.1.2 any
ip access-list extended ACL_2_646_SECONDARY
permit ip host 192.168.10.2 any
class-map match-any CLASS_2_646_PRIMARY
match access-group name ACL_2_646_PRIMARY
class-map match-any CLASS_2_646_SECONDARY
match access-group name ACL_2_646_SECONDARY
policy-map POLICY_OUT_2_646
class CLASS_2_646_PRIMARY
police 20000000 4000000 conform-action transmit exceed-action drop
class CLASS_2_646_SECONDARY
police 10000000 2000000 conform-action transmit exceed-action drop
class class-default
fair-queue
interface GigabitEthernet0/2.646
description GAG_PHARMA-60617
encapsulation dot1Q 646
ip address 192.168.1.1 255.255.255.252
ip address 192.168.10.1 255.255.255.252 secondary
no rate-limit input
no rate-limit output
no snmp trap link-status
no cdp enable
when i run this cmd on sub interface , get following error
JAL-CORE-RTR-1(config-subif)#service-policy output POLICY_OUT_2_646
CBWFQ : Not supported on subinterfaces
so any one help me to resolve how i rate limit using ip base on one sub-interface using multiple ip's
09-27-2025 03:47 AM
- @Gagandeep_Singh_1997 Review this thread : https://community.cisco.com/t5/routing/cbwfq-on-gige-subinterfaces/td-p/1323821
M.
09-27-2025 06:51 AM
Whoa, been a while since I got my hands on a Cisco 7200.
Yeah this seems to work only on parent interfaces. Look at this:
https://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-policing/10104-qos-subint.html
09-29-2025 01:32 AM
Hello @Gagandeep_Singh_1997 ,
I would suggest to try without the class class-default block because that fair-queue triggers CBWFQ that it is not supported
or use a class-default with no actions.
Hope to help
Giuseppe
09-29-2025 03:17 AM
If also help if you would identify the IOS version being used.
BTW, have you tried applying the policy map under the main interface?
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