buffer queue guaranteed
Use buffer queue guaranteed to set the fixed-area ratio for a queue.
Use undo buffer queue guaranteed to restore the default.
Syntax
buffer egress [ slot slot-number ] cell queue queue-id guaranteed ratio ratio-value
undo buffer egress [ slot slot-number ] cell queue queue-id guaranteed
Default
The fixed-area ratio for a queue is 12.5%, but the default value in the display buffer queue command output is 12%.
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 fixed-area ratio in percentage.
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 set 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