9 queue bandwidth, Queue bandwidth – PLANET XGS3-24040 User Manual

Page 227

Advertising
background image

14-93

Switch(Config-If-Ethernet1/1)#priority-queue out

14.9 queue bandwidth

Command:

queue-bandwidth <queue-id> <min_kbits_per_second> <max_kbits_per_second>

no queue-bandwidth <queue-id>

Function:

Configure the bandwidth pledge for the egress queue.

Parameter:

<queue-id> is the queen ID to configure the bandwidth pledge, the different chip supports the

different queue count, the range is difference too, the normal state is 8 queue, and the ranging from

1 to 8. <min_kbits_per_second> is the min-bandwidth, ranging from 0 to 128000, when input 0, it

means the min-bandwidth function is not take effect. <max_kbits_per_second> is the

max-bandwidth, ranging from 0 to 128000, when input 0, it means the max-bandwidth function is not

take effect. But the min-bandwidth and max-bandwidth are not allowed to input 0 at the same time,

and the min-bandwidth must not bigger than max-bandwidth.

Default:

The queue bandwidth have no pledge by default.

Command mode:

Interface Mode

Usage Guide:

The min-bandwidth pledge and max-bandwidth limit can be configured at the different or same

queue. For example: the queue1 bandwidth of ethernet1/2 is limited as 128kbps, it just need to

configure queue-bandwidth 1 0 128.

The queue bandwidth pledge for egress is relative to remove mode, for example: one port is the

strict priority-queue, the highest priority is queue 1 now, it will satisfy this queue traffic when block is

happened. But if user want the lower priority of queue having bandwidth, it can remain bandwidth via

this command, the lower priority queue’s min-bandwidth will be satisfied at first, then the excess

bandwidth is removed according to PQ.

Example:

Configure the min-bandwidth is 64kbps and the max-bandwidth is 128kbps for ethernet1/2 queue1.

Switch(config)#interface ethernet 1/2

Switch(Config-If-Ethernet1/2)#queue-bandwidth 1 64 128

Advertising