buffer queue guaranteed

Use buffer queue guaranteed to set the fixed-area space for a queue.

Use undo buffer queue guaranteed to delete the fixed-area space setting of a queue.

Syntax

buffer egress [ slot slot-number ] cell queue queue-id guaranteed ratio ratio

undo buffer egress [ slot slot-number ] cell queue queue-id guaranteed

Default

The fixed-area ratio for a queue is 13%.

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: Specifies the fixed-area space ratio, in percentage. The value range for ratio is 1 to 100.

Usage guidelines

By default, all queues have an equal share of the fixed area. You can set the fixed-area ratio for a queue. The other queues equally share the remaining part.

The fixed-area space for a queue cannot be used by other queues. Therefore, it is also called the minimum guaranteed buffer for the queue. The sum of fixed-area space configured for all queues cannot exceed the total fixed-area space. Otherwise, the configuration fails.

Examples

# Configure queue 0 to use 20% fixed-area space of cell resources in the egress buffer.

<Sysname> system-view
[Sysname] buffer egress cell queue 0 guaranteed ratio 20