cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
382
Views
0
Helpful
1
Replies

Video bandwidth assigned on policy map

Starfish
Level 1
Level 1

Hello,

I know this question may have been asked many times. 

But I am still confused while calculating the video bandwidth assigned on my policy map:

Both policies are assigned to the interface with bandwidth command: bandwidth 1000000 (1 Gig)

Can someone please tell me how much BW is allocated to af41 traffic?

Here is the sample config:

Policy Map POLICY_QOS
Class QOS_OUT_EF
police cir 50000 bc 200 be 100
conform-action transmit
exceed-action drop
violate-action drop
Class QOS_OUT_AF41
bandwidth remaining 5 (%)
ClassQOS_OUT_AF31 
bandwidth remaining 30 (%)
Class QOS_OUT_AF21
bandwidth remaining 30 (%)
Class QOS_OUT_AF11
bandwidth remaining 10 (%)
Class class-default
bandwidth remaining 5 (%)

And another one:

Policy Map ABC
Class OUT_QUEUE
priority
Class SILVER
bandwidth remaining 20 (%)
queue-buffers ratio 15
queue-limit dscp af41 percent 100
queue-limit dscp af31 percent 100
Class GOLD
bandwidth remaining 20 (%)
queue-buffers ratio 20
random-detect dscp-based

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

For your first policy, your QOS_OUT_AF41 gets 5:75 or 1:15 or 1/16 of remaining bandwidth, which should be (1,000,000,000 - 50,000) / 16.

For your second policy, if AF41 and AF31 share the class, it would get half of the class bandwidth, which is half of the remaining bandwidth, which could be zero since Class OUT_QUEUE is PQ without a bandwidth limit.