103
buffer egress queue guaranteed
Syntax
buffer egress
[
slot
slot-number
]
{
cell
|
packet
}
queue
queue-id
guaranteed ratio
ratio
undo buffer egress
[
slot
slot-number
]
{
cell
|
packet
}
queue
queue-id
guaranteed
View
System view
Default level
2: System level
Parameters
slot
slot-number
: Specifies an IRF member switch number. For a standalone switch, the
slot-number
argument can only be 1. In an IRF virtual device, if an IRF member switch is specified, this command
applies only to the member switch; if no member switch is specified, this command applies to all member
switches.
cell
: Configures the minimum guaranteed resource size for a queue in the cell resource.
packet
: Configures the minimum guaranteed resource size for a queue in the packet resource. This
keyword is not available on the S5820X Switch Series.
queue-id
: Specifies a queue ID, in the range of 0 to 7.
ratio
: Sets the minimum guaranteed resource size for the specified queue as a percentage of the
dedicated buffer per port. The value range is 0 to 100.
Description
Use the
buffer egress queue guaranteed
command to configure the minimum guaranteed resource size
for a queue in the cell resource or packet resource.
Use the
undo
buffer egress queue guaranteed
command to restore the default.
By default, the minimum guaranteed resource size for a queue is 12% of the dedicated buffer of the port
in both the cell resource and the packet resource.
The minimum guaranteed resource settings apply to the queue with the same number on each port.
The dedicated resource of a port is shared by eight queues. After you change the minimum guaranteed
resource size for a queue, the switch will automatically allocate the remaining dedicated resource among
all queues that are not manually assigned a minimum guaranteed resource space. For example, if you set
the minimum guaranteed resource size to 30% for a queue, the other seven queues will each share 10%
of the remaining dedicated resource of the port.
Examples
# Set 20% of the dedicated buffer per port as the minimum guaranteed resource for queue 0 in the cell
resource.
<Sysname> system-view
[Sysname] buffer egress cell queue 0 guaranteed ratio 20
# In an IRF, set 15% of the dedicated buffer per port as the minimum guaranteed resource for queue 0
in the cell resource on member switch 2.
<Sysname> system-view
[Sysname] buffer egress slot 2 cell queue 0 guaranteed ratio 15