display buffer

Use display buffer to display buffer size settings.

Syntax

display buffer [ slot slot-number ] [ queue [ queue-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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 displays buffer size settings for all IRF member devices.

queue queue-id: Specifies a queue by its number in the range of 0 to 7. If you specify a queue, this command displays the fixed-area ratio and shared-area ratio for the specified queue. If you specify the queue keyword without the queue-id argument, this command displays the fixed-area ratio and shared-area ratio for each queue. If you do not specify the queue keyword, this command displays the total shared-area ratio.

Examples

# Display buffer size settings.

<Sysname> display buffer
Slot  Type    Eg(Total-shared)
1     cell    100
          Eg: Size of the sending buffer
Total-shared: Size of the shared buffer for all ports
        Unit: Ratio

# Display the fixed-area ratio and shared-area ratio for the queues.

<Sysname> display buffer queue
Slot  Queue        Type    Eg(Guaranteed , Shared)
1     0-7          cell    13 , 88
          Eg: Size of the sending buffer
  Guaranteed: Size of the minimum guaranteed buffer per queue
      Shared: Size of the maximum shared buffer per queue
        Unit: Ratio

Table 50: Command output

Field

Description

Type

Resource type.

Queue

Queue ID in the range of 0 to 7.

Eg

Egress buffer.

(Total-shared)

Total-shared indicates the total shared-area ratio.

(Guaranteed , Shared)

  • Guaranteed indicates the fixed-area ratio of a queue.

  • Shared indicates the shared-area ratio of a queue.