Monitoring QoS Statistics


This chapter describes how to enable, display, and clear QoS statistics on the Cisco 1000 Series Connected Grid Routers (hereafter referred to as the Cisco CG-OS router). This chapter includes the following sections:

Information About QoS Statistics

Prerequisites for Monitoring QoS Statistics

Enabling Statistics

Monitoring the Statistics

Clearing Statistics

Information About QoS Statistics

You can display various QoS statistics for the Cisco CG-OS router. By default, statistics are enabled, but you can disable this feature. For more information, see Enabling Statistics.

Prerequisites for Monitoring QoS Statistics

You must be familiar with Chapter 2 "Using Modular QoS CLI."

You must log in to the Cisco CG-OS router.

Guidelines and Limitations

None.

Enabling Statistics

You can enable or disable QoS statistics for all interfaces on the Cisco CG-OS router. By default, QoS statistics are enabled on the Cisco CG-OS router.

DETAILED STEPS

 
Command
Purpose

Step 1 

configure terminal

Enters configuration mode.

Step 2 

qos statistics

Enables QoS statistics on all interfaces.

no qos statistics

Disables QoS statistics on all interfaces.

Step 3 

show policy-map interface

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

Step 4 

copy running-config startup-config

(Optional) Saves the running configuration to the startup configuration.

EXAMPLE

This example shows how to enable QoS statistics on all interfaces:

router# configure terminal
router(config)# qos statistics
router(config)# copy running-config startup-config
 
   

To disable QoS statistics on all interfaces, enter the no qos statistics command in the configuration mode.

Monitoring the Statistics

You can display QoS statistics for all interfaces or a selected interface, data direction, or a QoS type by using the following show command.

Command
Purpose

show policy-map [policy-map-name] [interface {cellular | ethernet |wimax} slot/port] [output] [type qos]

Displays statistics and the configured policy maps on all interfaces, a specific interface, data direction, and QoS type.

Note The Cisco CG-OS router only supports the output option for data direction.


This example shows how to display QoS statistics for a specific interface.

router# show policy-map interface cellular 3/1 type qos

 
   

This example shows how to display the output data direction for all interfaces on the Cisco CG-OS router.

router# show policy-map interface output

Clearing Statistics

You can clear QoS statistics for all interfaces or a selected interface, data direction, or QoS type by using the clear qos statistics command.

Command
Purpose

clear qos statistics [interface {cellular | ethernet |wimax} slot/port] [output] [type qos]

Clears statistics and the configured policy maps on all interfaces or the specified interface, data direction, or QoS type.


This example shows how to clear QoS statistics for a specific interface.

router# clear qos statistics interface ethernet 2/1

This example shows how to clear all QoS statistics on the Cisco CG-OS router.

router# clear qos statistics type qos

Configuration Example For Monitoring QoS Statistics

The following example shows how to display QoS statistics.

router(config)# show policy-map interface cellular 3/1 type qos