Previous page Next page

Setting Up CBQ

Use the set port queue service cbq command to set a port, port range, or module to use class-based queuing (CBQ) queue servicing. The syntax of the command is:

(configure)# set port queue service {{<mod-num> | <mod-swport-range>} [..., {<mod-num> | <mod-swport-range>}] | all-ports} cbq queue <queue> bit-rate <rate>

Table�202:�set port queue service cbq Command Parameters �
Parameter
Description
<mod-num>
The slot number of a module. If you specify <mod-num>, all ports on the module are set to use CBQ.
<mod-swport-range>
The slot number of a module, and, either a port number, or a range of port numbers having the format Px-Py. For example:
  • To specify port 1 on the module in slot 3, enter 3/1.
  • To specify ports 1 through 5 on the module in slot 3, enter 3/1-5.
If you specify <mod-swport-range>, the port or range of ports that you specify is set use CBQ.
all-ports
All ports in the chassis. If you specify all-ports, all ports on all modules in the chassis are set to use CBQ.
<queue>
The queue number, which can range from 0 to 7.
<rate>
The maximum bits per second that you want to assign to the queue.
If the switch is operating in Fabric mode 1, the rate can range from 220 Kbps to 1.5 Gbps.
If the switch is operating in Fabric mode 2, the rate can range from 270 Kbps to 1.5 Gbps
Entering a rate of 0 disables the queue.

For information about how the CBQ queue-servicing algorithm works, see "CBQ" earlier in this chapter.


Previous page Next page