cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
240
Views
0
Helpful
4
Replies

Rate limit on sub interface multiple ip's in cisco 7200

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

4 Replies 4

Mark Elsen
Hall of Fame
Hall of Fame

 

  - @Gagandeep_Singh_1997        Review this thread : https://community.cisco.com/t5/routing/cbwfq-on-gige-subinterfaces/td-p/1323821

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

julian.bendix
Level 7
Level 7

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 

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

 

Joseph W. Doherty
Hall of Fame
Hall of Fame

If also help if you would identify the IOS version being used.

BTW, have you tried applying the policy map under the main interface?