104
buffer egress queue shared
Syntax
buffer egress
[
slot
slot-number
]
{
cell
|
packet
}
queue
queue-id
shared ratio
ratio
undo buffer egress
[
slot
slot-number
]
{
cell
|
packet
}
queue
queue-id
shared
View
System view
Default level
2: System level
Parameters
slot
slot-number
: Specifies an IRF member switch number. For a standalone device, the
slot-number
argument can only be 1. In an IRF, with
slot-number
specified, this command configures the buffer
resource of the member switch specified by
slot-number
; without
slot-number
specified, this command
configures the buffer resource of all the member switches in the IRF virtual device.
cell
: Configures the maximum shared resource size for a queue in the cell resource.
packet
: Configures the maximum shared resource size for a queue in the packet resource. This keyword
is not available on the S5820X Switch Series.
queue-id
: Specifies the ID of the queue to be configured, in the range of 0 to 7.
ratio
: Sets the maximum shared resource size for the specified queue as a percentage of the shared
resource in the range of 0 to 100.
Description
Use the
buffer egress queue shared
command to configure the maximum shared resource size for a
queue in the cell resource or packet resource.
Use the
undo
buffer egress queue shared
command to restore the default.
By default, the maximum shared resource size for a queue is 33% of the shared resource in both the cell
resource and the packet resource.
NOTE:
The maximum shared resource settings of a queue apply to the queue with the same number on each port.
Examples
# Set the maximum shared resource size for queue 0 to 10% in the cell resource.
<Sysname> system-view
[Sysname] buffer egress cell queue 0 shared ratio 10
# In an IRF, set the maximum shared resource size of queue 0 to 5% in the cell resource on member switch
2.
<Sysname> system-view
[Sysname] buffer egress slot 2 cell queue 0 shared ratio 5