Command Reference Guide

111
Usage guidelines
The fixed-area space for a queue cannot be used by other queues. It is also called the minimum
guaranteed buffer.
The sum of fixed-area ratios configured for queues cannot be greater than or equal to 100%. Queues 5,
6, and 7 must have available fixed-area space.
After you configure the fixed-area ratios for some queues, the other queues each are assigned an equal
share of the remaining part of the fixed area. The display buffer queue command displays the preceding
whole number for each assignment result. Therefore, the sum of the ratios for all queues might be less
than 100%.
Examples
# Configure queue 0 to use 15% fixed-area space of cell resources in the egress buffer of IRF member
device 2.
<Sysname> system-view
[Sysname] buffer egress slot 2 cell queue 0 guaranteed ratio 15
buffer queue shared
Use buffer queue shared to set the maximum shared-area ratio for a queue.
Use undo buffer queue shared to restore the default.
Syntax
buffer egress [ slot slot-number ] cell queue queue-id shared ratio ratio-value
undo buffer egress [ slot slot-number ] cell queue queue-id shared
Default
The maximum shared-area ratio for a queue is 33%.
Views
System view
Predefined user roles
network-admin
Parameters
egress: Specifies the egress buffer.
slot slot-number: Specifies an IRF member device by its member ID (slot number). If you do not specify an
IRF member device, this command applies to all IRF member devices.
cell: Specifies cell resources.
queue-id: Specifies a queue by its ID in the range of 0 to 7.
ratio ratio-value: Specifies the maximum shared-area ratio in percentage.
Usage guidelines
By default, all queues have an equal share of the shared area. You can set the shared-area ratio for a
queue. The unconfigured queues use the default setting. The shared-area ratio for each queue is finally
determined by the chip based on your configuration and the number of packets to be sent.For the
maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10
ranges. Table 42 sh
ows the effective values that correspond to the configured values of ratio-value.