114
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 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 ratio configured for all queues
cannot exceed the total fixed-area ratio. Otherwise, the configuration fails.
Inappropriate data buffer changes can cause system problems. Before manually changing data
buffer settings, make sure you understand its impact on your device. As a best practice, use the
burst-mode enable command if the system requires large buffer spaces.
Examples
# Set the fixed-area ratio to 20% of cell resources in the egress buffer for queue 0.
<Sysname> system-view
[Sysname] buffer egress cell queue 0 guaranteed ratio 20
buffer queue shared
Use buffer queue shared to set the maximum shared-area ratio for a queue.
Use undo buffer queue shared to delete the maximum shared-area ratio setting of a queue.
Syntax
buffer egress [ slot slot-number ] cell queue queue-id shared ratio ratio
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.
packet: Specifies packet resources.