show controllers npu packet-memory interface
type
sq-buffer-usage [latest] location
ID
Syntax Description
latest
|
Shows the latest information about priority flow control (PFC) source queue buffer usage at the specified NPU node/all nodes.
|
location ID |
Specifies the node location. For ID, you can specify a specific node in the rack/slot/module notation or use all to specify all nodes.
|
Command Modes
XR EXEC mode
Command History
Release
|
Modification
|
Release 24.1.1 |
This command was introduced.
|
Usage Guidelines
Displaying the source queue buffer usage in all ports at all locations is not supported.
Task ID
Task ID
|
Operations
|
interface
|
read
|
cisco-support
|
read
|
Examples
This example displays periodic information about the source queue buffer usage per port in the packet memory space
Router#show controllers npu packet-memory interface FourHundredGigE 0/0/0/23 sq-buffer-usage location 0/RP0/CPU0
Thu Feb 1 16:52:48.101 UTC
-------------------------------------------------------------------------
Node ID: 0/RP0/CPU0
Source Queue Buffer Usage Info for interface(s) FourHundredGigE0_0_0_23
Intf Intf TC buffer-usage congestion-state
name handle
(hex)
-------------------------------------------------------------------------
FH0/0/0/23 0x0f0001c8 3 0 NO
FH0/0/0/23 0x0f0001c8 6 0 NO
This example displays latest information about the source queue buffer usage per port in the packet memory space.
RP/0/RP0/CPU0:ios#show controllers npu packet-memory interface FourHundredGigE 0/0/0/23 sq-buffer-usage latest location 0/RP0/CPU0
Thu Feb 1 16:57:20.657 UTC
-------------------------------------------------------------------------
This option will affect system performance and should be used with caution.
Integration of this CLI with automation scripts is not recommended
-------------------------------------------------------------------------
Node ID: 0/RP0/CPU0
Source Queue Buffer Usage Info for interface(s) FourHundredGigE0_0_0_23
Intf Intf TC buffer-usage congestion-state
name handle
(hex)
-------------------------------------------------------------------------
FH0/0/0/23 0x0f0001c8 3 0 NO
FH0/0/0/23 0x0f0001c8 6 0 NO
This example displays periodic information about source queue buffer usage in all ports in the packet memory space.
RP/0/RP0/CPU0:ios#show controllers npu packet-memory interface all sq-buffer-usage location 0/RP0/CPU0
Thu Feb 1 17:04:40.472 UTC
-------------------------------------------------------------------------
Node ID: 0/RP0/CPU0
Source Queue Buffer Usage Info for interface(s) all
Intf Intf TC buffer-usage congestion-state
name handle
(hex)
-------------------------------------------------------------------------
Hu0/0/0/0 0x0f000130 3 0 NO
Hu0/0/0/0 0x0f000130 6 0 NO
Hu0/0/0/35 0x0f000138 3 0 NO
Hu0/0/0/35 0x0f000138 6 0 NO
Hu0/0/0/34 0x0f000140 3 0 NO
Hu0/0/0/34 0x0f000140 6 0 NO
Hu0/0/0/33 0x0f000148 3 0 NO
Hu0/0/0/33 0x0f000148 6 0 NO
Hu0/0/0/32 0x0f000150 3 0 NO
Hu0/0/0/32 0x0f000150 6 0 NO
Hu0/0/0/31 0x0f000158 3 0 NO
Hu0/0/0/31 0x0f000158 6 0 NO
Hu0/0/0/30 0x0f000160 3 0 NO
Hu0/0/0/30 0x0f000160 6 0 NO
Hu0/0/0/29 0x0f000168 3 0 NO
Hu0/0/0/29 0x0f000168 6 0 NO
Hu0/0/0/28 0x0f000170 3 0 NO
Hu0/0/0/28 0x0f000170 6 0 NO
Hu0/0/0/27 0x0f000178 3 0 NO
Hu0/0/0/27 0x0f000178 6 0 NO
Hu0/0/0/26 0x0f000180 3 0 NO
Hu0/0/0/26 0x0f000180 6 0 NO
Hu0/0/0/25 0x0f000188 3 0 NO
Hu0/0/0/25 0x0f000188 6 0 NO
Hu0/0/0/24 0x0f000190 3 0 NO
Hu0/0/0/24 0x0f000190 6 0 NO
Hu0/0/0/20 0x0f000198 3 0 NO
Hu0/0/0/20 0x0f000198 6 0 NO
Hu0/0/0/19 0x0f0001a0 3 0 NO
Hu0/0/0/19 0x0f0001a0 6 0 NO
Hu0/0/0/15 0x0f0001a8 3 0 NO
Hu0/0/0/15 0x0f0001a8 6 0 NO
Hu0/0/0/8 0x0f0001b0 3 0 NO
Hu0/0/0/8 0x0f0001b0 6 0 NO
Hu0/0/0/1 0x0f0001b8 3 0 NO
Hu0/0/0/1 0x0f0001b8 6 0 NO
FH0/0/0/2 0x0f0001c0 3 0 NO
This example displays latest information about the source queue buffer usage in all ports in the packet memory space.
RP/0/RP0/CPU0:ios#show controllers npu packet-memory interface all sq-buffer-usage latest location 0/RP0/CPU0
Thu Feb 1 17:04:02.892 UTC
-------------------------------------------------------------------------
This option will affect system performance and should be used with caution.
Integration of this CLI with automation scripts is not recommended
-------------------------------------------------------------------------
Node ID: 0/RP0/CPU0
Source Queue Buffer Usage Info for interface(s) all
Intf Intf TC buffer-usage congestion-state
name handle
(hex)
-------------------------------------------------------------------------
Hu0/0/0/0 0x0f000130 3 0 NO
Hu0/0/0/0 0x0f000130 6 0 NO
Hu0/0/0/35 0x0f000138 3 0 NO
Hu0/0/0/35 0x0f000138 6 0 NO
Hu0/0/0/34 0x0f000140 3 0 NO
Hu0/0/0/34 0x0f000140 6 0 NO
Hu0/0/0/33 0x0f000148 3 0 NO
Hu0/0/0/33 0x0f000148 6 0 NO
Hu0/0/0/32 0x0f000150 3 0 NO
Hu0/0/0/32 0x0f000150 6 0 NO
Hu0/0/0/31 0x0f000158 3 0 NO
Hu0/0/0/31 0x0f000158 6 0 NO
Hu0/0/0/30 0x0f000160 3 0 NO
Hu0/0/0/30 0x0f000160 6 0 NO
Hu0/0/0/29 0x0f000168 3 0 NO
Hu0/0/0/29 0x0f000168 6 0 NO
Hu0/0/0/28 0x0f000170 3 0 NO
Hu0/0/0/28 0x0f000170 6 0 NO
Hu0/0/0/27 0x0f000178 3 0 NO
Hu0/0/0/27 0x0f000178 6 0 NO
Hu0/0/0/26 0x0f000180 3 0 NO
Hu0/0/0/26 0x0f000180 6 0 NO
Hu0/0/0/25 0x0f000188 3 0 NO
Hu0/0/0/25 0x0f000188 6 0 NO
Hu0/0/0/24 0x0f000190 3 0 NO
Hu0/0/0/24 0x0f000190 6 0 NO
Hu0/0/0/20 0x0f000198 3 0 NO
Hu0/0/0/20 0x0f000198 6 0 NO
Hu0/0/0/19 0x0f0001a0 3 0 NO
Hu0/0/0/19 0x0f0001a0 6 0 NO
Hu0/0/0/15 0x0f0001a8 3 0 NO
Hu0/0/0/15 0x0f0001a8 6 0 NO
Hu0/0/0/8 0x0f0001b0 3 0 NO
--More--
Note
|
If there is no traffic and congestion in the system when the snapshot is taken , the value of buffer-usage is 0 and congestion-state is NO. If there is traffic and congestion at the egress interface, the values of buffer-usage and congestion-state are as highlighted below:RP/0/RP0/CPU0:ios#show controllers npu packet-memory interface fourHundredGigE 0/0/0/4 sq-buffer-usage latest location 0/RP0/CPU0
Fri Aug 25 04:09:25.447 UTC
-------------------------------------------------------------------------
Node ID: 0/RP0/CPU0
Source Queue Buffer Usage Info for interface(s) FourHundredGigE0_0_0_4
Intf Intf TC buffer-usage congestion-state
name handle
(hex)
-------------------------------------------------------------------------
FH0/0/0/4 0x0f000130 2 0 NO
FH0/0/0/4 0x0f000130 3 8319 YES
FH0/0/0/4 0x0f000130 4 0 NO
FH0/0/0/4 0x0f000130 6 0 NO
|
Displaying the source queue buffer usage in all ports at all locations is not supported.
These examples throw the 'Operation not supported' error in an attempt to display periodic/latest information about the source
queue buffer usage in all ports at all locations.
RP/0/RP0/CPU0:ios#show controllers npu packet-memory interface all sq-buffer-usage location all
Thu Feb 1 17:13:35.010 UTC
Operation not supported on this location: all
RP/0/RP0/CPU0:ios#show controllers npu packet-memory interface all sq-buffer-usage latest location all
Thu Feb 1 17:14:50.261 UTC
Operation not supported on this location: all