Monitoring QoS Statistics

This chapter describes how to enable, display, and clear QoS statistics.

Information about QoS Statistics

Statistics are maintained for each policy, class action, and match criteria per interface. You can enable or disable the collection of statistics globally using the [no] qos statistics command. You can display statistics using the show policy-map interface command, and you can clear statistics based on an interface or policy map with the clear qos statistics command. Statistics are enabled by default and can be disabled globally.

Prerequisites for Monitoring QoS Statistics

Monitoring QoS statistics has the following prerequisites:

You are logged in to the CLI in EXEC mode.

Enabling Statistics

You can enable or disable QoS statistics for all interfaces on the device.

BEFORE YOU BEGIN

By default, QoS statistics are enabled.

SUMMARY STEPS

1. config t

2. qos statistics

3. show policy-map interface

4. copy running-config startup-config

DETAILED STEPS

Command

Purpose

Step 1

config t

Example:

switch# config t

switch(config)#

Places you into CLI Global Configuration mode.

Step 2

qos statistics

Example:

switch(config)# qos statistics

Enables QoS statistics on all interfaces.

Step 3

show policy-map interface

Example:

switch(config)# show policy-map interface

(Optional) Displays the statistics status and the configured policy maps on all interfaces.

Step 4

copy running-config startup-config

Example:

switch(config)# copy running-config startup-config

(Optional) Saves the running configuration persistently through reboots and restarts by copying it to the startup configuration.

MIBs

RFCs

RFCs

Title

No RFCs are supported by this feature

—

Technical Assistance

Description

Link

Technical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, and tools. Registered Cisco.com users can log in from this page to access even more content.