Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CBWFW-Service-policy out on Ethernet-subinterfaces

Hi need solution where I can assign output service-policy with CBWFQ/LLQ on to a Ethernet-Subinterface (dot1q-encapsulated)

Its definitifely not supported on


Does anybody know if it is supported on one of the following platforms/interfaces

ASR ??

7600 ES20 ??

7600 SIP SPA ??

policy-map QOS-Policy-WAN-2000kbps

description QOS-Policy for 2000Kbps-PVCs

class QOS-Class-Realtime

priority percent 25

class QOS-Class-Platinum

bandwidth percent 15

class QOS-Class-Gold

bandwidth percent 5

class QOS-Class-Silver

bandwidth percent 10

class QOS-Class-Bronze

bandwidth percent 25

class class-default

DBE-LINZ-DL08(config)#int gig 0/3

DBE-LINZ-DL08(config-if)#int gig 0/3.100


DBE-LINZ-DL08(config-subif)#encapsulation do

DBE-LINZ-DL08(config-subif)#encapsulation dot1Q 100

DBE-LINZ-DL08(config-subif)#do term mon

DBE-LINZ-DL08(config-subif)#max-reserved-bandwidth 90


% Invalid input detected at '^' marker.

DBE-LINZ-DL08(config-subif)#service-policy output QOS-Policy-WAN-2000kbps

CBWFQ : Not supported on subinterfaces



Re: CBWFW-Service-policy out on Ethernet-subinterfaces

AFAIK - no router supports QoS on sub-interfaces, I might be wrong.

You might be better to configure the QoS on the switch that the router connects to on the inbound?


New Member

Re: CBWFW-Service-policy out on Ethernet-subinterfaces

Bad news , I would need it for a Hub-router where I connect to Metro-Ethernet-Provider which delivers us a lot of VLANs(dot1q-tagged) via on GE (for p2p-connection to remote sites) a we have to do different Queueing-settings for the different VLANs.


Re: CBWFW-Service-policy out on Ethernet-subinterfaces

Ahh OK no I understand - I have come across this before in a different circumstance. I had to limit the amount of traffic going into a GRE tunnel, that also does not support CBWFQ directly......but the work around I found was to use a nested policy - which shaped the traffic, based on CBWFQ!!! which did work - you might want to try this, below is a sample config:-


policy-map CBWFQ

description *** Class-Based Weighted Fair Queueing ***

class eigrp

priority 8

class voice-audio

priority 600

class voice-keepalive

priority 64

class voice-signaling

bandwidth 32

class icmp

bandwidth 8

class telnet

bandwidth 64

class class-default


random-detect dscp-based


policy-map Shape-Tunnel

description *** Outbound Shaping into GRE Tunnel ***

class class-default

shape average 2048000

service-policy CBWFQ



New Member

Re: CBWFW-Service-policy out on Ethernet-subinterfaces

Hi thnaks that workes,

i already did the sam config on some ethernetinterface which are connected to DSL, but not on subinterfaces


Re: CBWFW-Service-policy out on Ethernet-subinterfaces

np - glad to help.

Super Bronze

Re: CBWFW-Service-policy out on Ethernet-subinterfaces

It might work if you use a parent shaper.

policy-map QOS-Policy-WparentAN-2000kbps_parent

class class-defuault

shape 2000000

service-policy QOS-Policy-WAN-2000kbps

int g 0/3

service-policy output QOS-Policy-WparentAN-2000kbps_parent