Nested Policy CBWFQ

NOT ALLOWED to queue on sub-interfaces, so must use nested policy to create shaper to make a queue, then it will work

Router(config)#int f0/0.1
Router(config-subif)#service-policy output Q
CBWFQ : Not supported on subinterfaces

Policy-map child
class voice
priority 512

Policy-map parent
class class-default
shape average 2000000
service-policy child

Int f0/0.1
service-policy parent

Router(config)#int f0/0.1
Router(config-subif)#serv
Router(config-subif)#service-policy out
Router(config-subif)#service-policy output parent
Router(config-subif)#do sh run int f0/0.1
Building configuration…

Current configuration : 65 bytes
!
interface FastEthernet0/0.1
service-policy output parent
end

Router(config-subif)#do sh policy-map int
FastEthernet0/0.1

Service-policy output: parent

Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
2000000/2000000 12500 50000 50000 25 6250

Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
– 0 0 0 0 0 no

Service-policy : child

Class-map: voice (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: none
Queueing
Strict Priority
Output Queue: Conversation 72
Bandwidth 512 (kbps) Burst 12800 (Bytes)
(pkts matched/bytes matched) 0/0
(total drops/bytes drops) 0/0

Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s