View Packet Processing and Traffic Management Resources
Feature Name |
Release Information |
Feature Description |
---|---|---|
View Packet Processing and Traffic Management Resources |
Release 7.11.1 |
Introduced in this release on: NCS 5500 fixed port routers; NCS 5700 fixed port routers; NCS 5500 modular routers (NCS 5500 line cards; NCS 5700 line cards [Mode: Compatibility; Native]) You can now view the utilization of some packet processing and traffic management resources, such as policer banks and connectors. Insights into their consumption and availability help you prevent or mitigate an Out of Resource (OOR) situation, thus ensuring optimal QoS operations with minimal impact on network performance. The feature introduces the following changes: CLI: show controllers npu resources qos YANG:
(see GitHub, YANG Data Models Navigator) |
QoS utilizes hardware resources to classify, mark, and shape traffic. Given that these resources are limited, you require immediate access to information such as their consumption and availability, especially if you plan to implement high-scale setups. Without such information, you may run out of resources, and tracking down the impacted hardware resources could prove challenging.
From Release 7.11.1 onwards, you can view the utilization of some packet processing and traffic management resources by running the show controllers npu resources qos command. Packet processing and traffic management resources are crucial components of QoS implementations, helping ensure that network traffic is prioritized, managed, and controlled effectively. You can use this data to troubleshoot Out of Resource (OOR) situations by quickly identifying the exhausted resources or prevent OOR conditions by appropriately modifying their allocation.
Run the show controllers npu resources qos command to view the information listed in the table. To best use this information and plan the grouping of multiple resources for specific QoS tasks, you could initially add one policy and check how much of these resources QoS utilizes.
Resource |
Type |
More About This Resource |
Important Because |
||
---|---|---|---|---|---|
Policer |
Packet Processing |
The number of policers that are allocated and that you can create. The total number of policer banks is inversely proportional to the class map size. |
Helps you determine the ingress policy map scale based on available policer bank resources. |
||
Egress QoS Map Information |
Packet Processing |
The resources used in creating traffic class and drop precedence (or discard class) maps for egress traffic. |
Displays counters for L2 and L3 pools, helping you tune your policy map configurations at the ingress or egress based on the existing policy parameters and optimize the available pool usage. |
||
Connectors |
Traffic Management |
The number of NPU connectors or Fabric Access Processors (FAPs) used. |
The connector resource dictates the number of VOQs you can create. The egress policy map scale is bound to VOQ availability and, in turn, connector availability. It also tells you, among others:
|
||
Rate Profile |
Traffic Management |
The rate profile pool used. Interfaces with different line rates and policies with significantly differing shaper and queue lengths use rate profiles. |
Helps you tune your egress policy parameters, such as shaper value and queue length, to optimize the available rate profile hardware resources. |
||
Egress Queue (EGQ) Profile |
Traffic Management |
The number of egress queue maps used. They are consumed when you create egress policies with priority marking. |
Helps you tune your egress policy parameters such as egress queue map to optimize the available hardware resources . |
||
VOQ |
Traffic Management |
The number of Virtual Output Queues (VOQs) used at a global level from a common pool. |
Tells you the number of VOQs consumed (Used ), the number of VOQs remaining (Free ), and the Total number of VOQs available. |
Verification
Router#show controllers npu resources qos all instance all location 0/0/CPU0
========================================================================
QoS TM Connectors Information For Location: 0/0/CPU0
System information for NPU 0:
Core 0:
Used( %) Free Total Reserved Per Interface Consumption
Normal Connector Set: 384( 0%) 59008 59392 6144 16
Lowrate connector Set: 0( 0%) 0 0
Core 1:
Used( %) Free Total Reserved Per Interface Consumption
Normal Connector Set: 384( 0%) 59008 59392 6144 16
Lowrate connector Set: 0( 0%) 0 0
========================================================================
QoS TM Rate Profile Information:
Note: - This is a global resource and shared across all LCs
Used( %) Free Total Reserved Highest Used
3( 5%) 56 59 5 3
========================================================================
QoS TM EGQ Profile Information For Location: 0/0/CPU0
System information for NPU 0:
Core 0:
Used( %) Free Total
8(100%) 0 8
Core 1:
Used( %) Free Total
8(100%) 0 8
========================================================================
QoS PP Policer Banks Information For Location: 0/0/CPU0
System information for NPU 0:
Core 0:
Used( %) Free Total Class-map size
Policer Banks info: 0( 0%) 218 218 32
Core 1:
Used( %) Free Total Class-map size
Policer Banks info: 0( 0%) 218 218 32
========================================================================
QoS PP Egress QoS Map Information For Location: 0/0/CPU0
System information for NPU 0: Used( %) Free Total
L2 Profile Pool: 0( 0%) 14 14
L3 Profile Pool: 0( 0%) 3 3
========================================================================
QoS VOQ Information For Location: 0/0/CPU0
Note:- This is a global resources shared by all NPUs
Used( %) Free Total
VOQ info: 175( 1%) 11984 12159