buffer total-shared

Use buffer total-shared to set the total shared-area ratio.

Use undo buffer total-shared to restore the default.

Syntax

buffer egress [ slot slot-number ] cell total-shared ratio ratio-value

undo buffer egress [ slot slot-number ] cell total-shared

Default

The total shared-area ratio is 97% of the buffer.

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.

ratio ratio-value: Specifies the ratio of the shared area in percentage.

Usage guidelines

After you set the total shared-area ratio, the remaining buffer space is automatically assigned to the fixed area.

Examples

# Configure the shared area to use 65% space of cell resources in the egress buffer of IRF member device 2.

<Sysname> system-view
[Sysname] buffer egress slot 2 cell total-shared ratio 65