Traffic shaping and queueing in 7200 series VXR router

Unanswered Question
Feb 14th, 2007

I have been doing some work using Cisco 7200 series VXR router. I have two questions on traffic shaping. Replies are much appreciated.

1. I am using class based traffic shaping using Cisco IOS 12.2. I create a class-map and then a policy-map to shape the average output interface rate

to 20Mbps (I am using the "shape average" command to do this). I used "set max-buffers 30" to set the queue length to 30.

I want to implement FIFO queueing. However, when I use the "show traffic-shape queue" command to view the shaping information, it tells me that the queueing strategy is Weighted Fair Queueing (WFQ). Can you kindly let me know how I can implement FIFO instead of


2. In the Cisco Internetworking Handbook, it is mentioned that a queue is created for EACH FLOW when

WFQ is enabled. It is also mentioned that "set max-buffers" specifies the maximum number of buffers allowed on shaping queues. Can you kindly help me

interpret the value of 30 above? Does it mean that there are 30 packets worth of buffering FOR EACH FLOW or something else? In other words, if there is 1 TCP

connection passing through the router, then there is 1 QUEUE with 30 packets of buffering; if there are 2 TCP connections, there are 2 QUEUES with 30 packets each and so on.

Many thanks !


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joseph W. Doherty Thu, 06/26/2008 - 16:55


This might be accomplished with a child policy.


policy-map aChild

class class-default

bandwidth ###

policy-map aParent

class class-default

shape average ###

service-policy aChild


Documentation isn't clear for a shaper, i.e. whether setting is for total buffer space for per flow queue limit.


This Discussion