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 ID in the range of 0 to 7.

Usage guidelines

If you do not specify the queue keyword, this command displays the total shared-area ratio.

If you specify the queue keyword, this command displays the fixed-area ratio and shared-area ratio for all queues.

If you specify a queue, this command displays the fixed-area size and shared-area size for the specified queue.

Examples

# Display the total shared-area ratio.

<Sysname> display buffer 
Slot  Type    Eg(Total-shared)                                                  
1     cell    25                                                                
                                                                                
          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 each queue.

<Sysname> display buffer queue
Slot  Queue        Type    Eg(Guaranteed , Shared)                              
2     0            cell    20 , 33                                              
2     1            cell    14 , 33                                              
2     2-7          cell    11 , 33                                              
                                                                                
          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 43: Command output

Field

Description

Slot

ID of an IRF member device.

Type

Resource type. The device supports only cell resources.

Queue

Queue ID in the range of 0 to 7.

Eg

Egress buffer.

(Total-shared)

Total shared-area size.

(Guaranteed , Shared)

  • Guaranteed—Fixed-area ratio for a queue.

  • Shared—Shared-area ratio for a queue.

The default fixed-area ratio for a queue is 12.5%, but the default value in the display buffer queue command output is 12%.

Unit

Unit for configuring the data buffer. The device supports only ratio.