- New and Changed Content for QoS CLI Config Guide
- QoS CLI Index
- Preface
- Overview
- Using Modular QoS CLI
- Configuring Classification
- Configuring Marking
- Configuring Mutation Mapping
- Configuring Policing
- Configuring Queuing and Scheduling
- Monitoring QoS Statistics
- Limits Appendix
- Additional References Appendix
Monitoring QoS Statistics
This chapter describes how to enable, display, and clear QoS statistics on the Cisco Nexus 7000 Series NX-OS device.
This chapter includes the following sections:
•Licensing Requirements for Monitoring QoS Statistics
•Prerequisites for Monitoring QoS Statistics
•Feature History for Statistics
Information about QoS Statistics
You can display various QoS statistics for the device. Statistics are enabled by default, but you can disable this feature. (See the "Example Display" section for the statistics displayed.)
Licensing Requirements for Monitoring QoS Statistics
The following table shows the licensing requirements for this feature:
However, using VDCs requires an Advanced Services license.
Prerequisites for Monitoring QoS Statistics
Monitoring QoS statistics has the following prerequisites:
•You must be familiar with Chapter 2 "Using Modular QoS CLI."
•You are logged on to the switch.
•You are in the correct virtual device context (VDC). A VDC is a logical representation of a set of system resources. You can use the switchto vdc command with a VDC number.
Enabling Statistics
You can enable or disable QoS statistics for all interfaces on the device. By default, QoS statistics are enabled.
SUMMARY STEPS
1. config t
2. qos statistics
no qos statistics
3. show policy-map interface
or
show policy-map vlan
4. copy running-config startup-config
DETAILED STEPS
Displaying Statistics
You can display QoS statistics for all interfaces or a selected interface, data direction, or QoS type.
SUMMARY STEPS
1. show policy-map [policy-map-name] [interface] [vlan] [input | output] [type {qos | queuing}]
DETAILED STEPS
Clearing Statistics
You can clear QoS statistics for all interfaces or a selected interface, data direction, or QoS type.
SUMMARY STEPS
1. clear qos statistics [interface] [vlan] [input | output] [type {qos | queuing}]
DETAILED STEPS
Example Display
The following is an example of a display of the QoS statistics:
switch(config)# show policy-map interface ethernet 8/1
Global statistics status: enabled
Ethernet8/1
Service-policy (qos) input: pmap
policy statistics status: enabled
Class-map (qos): map (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: cos 0
police cir 10 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
Class-map (qos): map1 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: dscp 0
police cir 10 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
Class-map (qos): map2 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: precedence 5
police cir 20 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
Class-map (qos): map3 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: cos 3
police cir 30 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
Class-map (qos): map4 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: packet length 100
police cir 40 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
Class-map (qos): map5 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group foo
police cir 50 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
Class-map (qos): class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
police cir 60 mbps bc 200 ms
conformed 0 bytes, 0 bps action: transmit
violated 0 bytes, 0 bps action: drop
See the Cisco NX-OS Quality of Service Command Reference for complete information on the show policy-map command.
Feature History for Statistics
Table 8-1 lists the release history for this feature.
|
|
|
---|---|---|
No change. |
4.1(2) |
- |
No change |
4.2(1) |
- |