display buffer usage interface

Use display buffer usage interface to display buffer usage statistics for interfaces.

Syntax

display buffer usage interface [ interface-type [ interface-number ] ] [ queue queue-id verbose number-record ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type [ interface-number ]: Specifies an interface by its type and number. If you do not specify the interface-type argument, this command displays buffer usage statistics for all Ethernet interfaces. If you specify the interface-type argument without the interface-number argument, this command displays buffer usage statistics for all Ethernet interfaces of the specified type.

queue queue-id verbose number-record: Displays buffer usage threshold-exceeding statistics for a queue, including threshold-exceeding start time, threshold-exceeding duration, and number of bytes forwarded by the queue within the threshold-exceeding duration. The value range for the queue-id argument is 0 to 7. The number-record argument represents the number of threshold violations recorded, in the range of 1 to 2000. If you do not specify this option, the command displays buffer usage statistics. If a queue does not exceed the buffer usage threshold and you specify this option, the command displays nothing. This option is not supported on the FlexFabric 5950 32QSFP28 Switch (JH321A) and HPE FlexFabric 5950 32QSFP28 TAA-compliant Switch (JH322A).

Examples

# Display buffer usage statistics for HundredGigE 1/0/1.

<Sysname> display buffer usage interface hundredgige 1/0/1
Interface              QueueID Total       Used        Threshold(%) Violations
--------------------------------------------------------------------------------
HGE1/0/1               0       825968      0           70           0
                       1       825968      0           70           0
                       2       825968      0           70           0
                       3       825968      0           70           0
                       4       825968      0           70           0
                       5       825968      0           70           0
                       6       825968      0           70           0
                       7       825968      0           70           0 

# Display buffer usage threshold-exceeding statistics for queue 1 on HundredGigE 1/0/1.

<Sysname> display buffer usage interface hundredgige 1/0/1 queue 1 verbose 10
Start Time                    Continuous(ms)                Used                 
-------------------------------------------------------------------------------- 
2011/03/14 07:51:57:525       20531                         822224               
2011/03/14 07:49:25:361       70535                         826384               

Table 52: Command output

Field

Description

Total

Data buffer size in bytes allowed for a queue.

Used

Data buffer size in bytes that has been used by a queue.

Threshold(%)

Buffer usage threshold for a queue. The threshold value is the same as the per-interface threshold value.

Violations

Number of threshold violations for a queue.

The value of this field is reset upon a switch reboot.

Start Time

Threshold-exceeding start time.

Continuous(ms)

Threshold-exceeding duration in milliseconds.