- Index
- Preface
- Product Overview
- Command-Line Interfaces
- Configuring the Switch for the First Time
- Configuring a Supervisor Engine 32 PISA
- Configuring NSF with SSO Supervisor Engine Redundancy
- Configuring RPR Supervisor Engine Redundancy
- Configuring Interfaces
- Configuring Layer 2 Ethernet Interfaces
- Configuring Flex Links
- Configuring Layer 3 and Layer 2 EtherChannel
- Configuring VLAN Trunking Protocol (VTP)
- Configuring VLANs
- Configuring Private VLANs (PVLANs)
- Configuring Cisco IP Phone Support
- Configuring IEEE 802.1Q Tunneling
- Configuring Layer 2 Protocol Tunneling (L2PT)
- Configuring STP and MST
- Configuring STP Features
- Configuring Layer 3 Interfaces
- Configuring UDE and UDLR
- Configuring PFC3BXL and PFC3B Multiprotocol Label Switching (MPLS)
- Configuring IPv4 Multicast VPN Support
- Configuring IP Unicast Layer 3 Switching
- Configuring IPv6 Multicast Layer 3 Switching
- Configuring IPv4 Multicast Layer 3 Switching
- Configuring MLDv2 Snooping
- Configuring IGMP Snooping
- Configuring PIM Snooping
- Configuring Router-Port Group Management Protocol (RGMP)
- Configuring Network Security
- Understanding Cisco IOS ACL Support
- Configuring VLAN ACLs (VACLs)
- Configuring Denial of Service (DoS) Protection
- Configuring DHCP Snooping
- Configuring Dynamic ARP Inspection (DAI)
- Configuring Traffic-Storm Control
- Configuring Unknown Unicast and Multicast Flood Blocking
- Configuring PFC QoS
- Configuring PFC3BXL or PFC3B Mode MPLS QoS
- Configuring PFC QoS Statistics Data Export
- Configuring Network Admission Control (NAC)
- Configuring 802.1X Port-Based Authentication
- Configuring Port Security
- Configuring Cisco Discovery Protocol (CDP)
- Configuring UniDirectional Link Detection (UDLD)
- Configuring the NetFlow Table
- Configuring NetFlow Data Export (NDE)
- Configuring Local SPAN, Remote SPAN (RSPAN), and Encapsulated RSPAN
- Configuring SNMP IfIndex Persistence
- Power Management and Environmental Monitoring
- Configuring Online Diagnostics
- Configuring Top N Utility Reports
- Using the Layer 2 Traceroute Utility
- Online Diagnostic Tests
- Acronyms
- Understanding PFC QoS Statistics Data Export
- PFC QoS Statistics Data Export Default Configuration
- Configuring PFC QoS Statistics Data Export
- Enabling PFC QoS Statistics Data Export Globally
- Enabling PFC QoS Statistics Data Export for a Port
- Enabling PFC QoS Statistics Data Export for a Named Aggregate Policer
- Enabling PFC QoS Statistics Data Export for a Class Map
- Setting the PFC QoS Statistics Data Export Time Interval
- Configuring PFC QoS Statistics Data Export Destination Host and UDP Port
- Setting the PFC QoS Statistics Data Export Field Delimiter
Configuring PFC QoS Statistics Data Export
This chapter describes how to configure PFC QoS statistics data export on Catalyst 6500 series switches.
Note For complete syntax and usage information for the commands used in this chapter, refer to the Catalyst Supervisor Engine 32 PISA Cisco IOS Command Reference, Release 12.2ZY, at this URL:
http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2ZY/command/reference/cmdref.html
This chapter contains these sections:
•Understanding PFC QoS Statistics Data Export
•PFC QoS Statistics Data Export Default Configuration
•Configuring PFC QoS Statistics Data Export
Understanding PFC QoS Statistics Data Export
Note•The PFC QoS statistics data export feature is completely separate from NetFlow Data Export and does not interact with it.
•The PFC QoS statistics data export feature supports the PFC QoS features described in Chapter 38 "Configuring PFC QoS," that are implemented in the port ASICs and the PFC3B.
The PFC QoS statistics data export feature generates per-LAN-port and per-aggregate policer utilization information and forwards this information in UDP packets to traffic monitoring, planning, or accounting applications. You can enable PFC QoS statistics data export on a per-LAN-port or on a per-aggregate policer basis. The statistics data generated per port consists of counts of the input and output packets and bytes. The aggregate policer statistics consist of counts of allowed packets and counts of packets exceeding the policed rate.
The PFC QoS statistics data collection occurs periodically at a fixed interval, but you can configure the interval at which the data is exported. PFC QoS statistics collection is enabled by default, and the data export feature is disabled by default for all ports and all aggregate policers configured on the Catalyst 6500 series switch.
PFC QoS Statistics Data Export Default Configuration
Table 40-1 shows the PFC QoS statistics data export default configuration.
Configuring PFC QoS Statistics Data Export
These sections describe how to configure PFC QoS statistics data export:
•Enabling PFC QoS Statistics Data Export Globally
•Enabling PFC QoS Statistics Data Export for a Port
•Enabling PFC QoS Statistics Data Export for a Named Aggregate Policer
•Enabling PFC QoS Statistics Data Export for a Class Map
•Setting the PFC QoS Statistics Data Export Time Interval
•Configuring PFC QoS Statistics Data Export Destination Host and UDP Port
•Setting the PFC QoS Statistics Data Export Field Delimiter
Enabling PFC QoS Statistics Data Export Globally
To enable PFC QoS statistics data export globally, perform this task:
This example shows how to enable PFC QoS statistics data export globally and verify the configuration:
Router# configure terminal
Router(config)# mls qos statistics-export
Router(config)# end
% Warning: Export destination not set.
% Use 'mls qos statistics-export destination' command to configure the export destination
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 300 seconds
Export Delimiter : |
Export Destination : Not configured
Router#
Note You must enable PFC QoS statistics data export globally for other PFC QoS statistics data export configuration to take effect.
Enabling PFC QoS Statistics Data Export for a Port
To enable PFC QoS statistics data export for a port, perform this task:
|
|
|
---|---|---|
Step 1 |
Router(config)# interface type1 slot/port |
Selects the interface to configure. |
Step 2 |
Router(config-if)# mls qos statistics-export |
Enables PFC QoS statistics data export for the port. |
Router(config-if)# no mls qos statistics-export |
Disables PFC QoS statistics data export for the port. |
|
Step 3 |
Router(config)# end |
Exits configuration mode. |
Step 4 |
Router# show mls qos statistics-export info |
Verifies the configuration. |
1 type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet |
This example shows how to enable PFC QoS statistics data export on FastEthernet port 5/24 and verify the configuration:
Router# configure terminal
Router(config)# interface fastethernet 5/24
Router(config-if)# mls qos statistics-export
Router(config-if)# end
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 300 seconds
Export Delimiter : |
Export Destination : Not configured
QoS Statistics Data Export is enabled on following ports:
---------------------------------------------------------
FastEthernet5/24
Router#
When enabled on a port, PFC QoS statistics data export contains the following fields, separated by the delimiter character:
•Export type ("1" for a port)
•Slot/port
•Number of ingress packets
•Number of ingress bytes
•Number of egress packets
•Number of egress bytes
•Time stamp
Enabling PFC QoS Statistics Data Export for a Named Aggregate Policer
To enable PFC QoS statistics data export for a named aggregate policer, perform this task:
This example shows how to enable PFC QoS statistics data export for an aggregate policer named aggr1M and verify the configuration:
Router# configure terminal
Router(config)# mls qos statistics-export aggregate-policer aggr1M
Router(config)# end
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 300 seconds
Export Delimiter : |
Export Destination : Not configured
QoS Statistics Data Export is enabled on following ports:
---------------------------------------------------------
FastEthernet5/24
QoS Statistics Data export is enabled on following shared aggregate policers:
-----------------------------------------------------------------------------
aggr1M
Router#
When enabled for a named aggregate policer, PFC QoS statistics data export contains the following fields, separated by the delimiter character:
•Export type ("3" for an aggregate policer)
•Aggregate policer name
•Direction ("in")
•PFC3B slot number
•Number of in-profile bytes
•Number of bytes that exceed the CIR
•Number of bytes that exceed the PIR
•Time stamp
Enabling PFC QoS Statistics Data Export for a Class Map
To enable PFC QoS statistics data export for a class map, perform this task:
This example shows how to enable PFC QoS statistics data export for a class map named class3 and verify the configuration:
Router# configure terminal
Router(config)# mls qos statistics-export class-map class3
Router(config)# end
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 300 seconds
Export Delimiter : |
Export Destination : Not configured
QoS Statistics Data Export is enabled on following ports:
---------------------------------------------------------
FastEthernet5/24
QoS Statistics Data export is enabled on following shared aggregate policers:
-----------------------------------------------------------------------------
aggr1M
QoS Statistics Data Export is enabled on following class-maps:
---------------------------------------------------------------
class3
Router#
When enabled for a class map, PFC QoS statistics data export contains the following fields, separated by the delimiter character:
•For data from a physical port:
–Export type ("4" for a classmap and port)
–Class map name
–Direction ("in")
–Slot/port
–Number of in-profile bytes
–Number of bytes that exceed the CIR
–Number of bytes that exceed the PIR
–Time stamp
•For data from a VLAN interface:
–Export type ("5" for a class map and VLAN)
–Classmap name
–Direction ("in")
–PFC3B slot number
–VLAN ID
–Number of in-profile bytes
–Number of bytes that exceed the CIR
–Number of bytes that exceed the PIR
–Time stamp
•For data from a port channel interface:
–Export type ("6" for a class map and port channel)
–Class map name
–Direction ("in")
–PFC3B slot number
–Port channel ID
–Number of in-profile bytes
–Number of bytes that exceed the CIR
–Number of bytes that exceed the PIR
–Time stamp
Setting the PFC QoS Statistics Data Export Time Interval
To set the time interval for the PFC QoS statistics data export, perform this task:
This example shows how to set the PFC QoS statistics data export interval and verify the configuration:
Router# configure terminal
Router(config)# mls qos statistics-export interval 250
Router(config)# end
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 250 seconds
Export Delimiter : |
Export Destination : Not configured
QoS Statistics Data Export is enabled on following ports:
---------------------------------------------------------
FastEthernet5/24
QoS Statistics Data export is enabled on following shared aggregate policers:
-----------------------------------------------------------------------------
aggr1M
QoS Statistics Data Export is enabled on following class-maps:
---------------------------------------------------------------
class3
Router#
Configuring PFC QoS Statistics Data Export Destination Host and UDP Port
To configure the PFC QoS statistics data export destination host and UDP port number, perform this task:
Note When the PFC QoS data export destination is a syslog server, the exported data is prefaced with a syslog header.
Table 40-2 lists the supported PFC QoS data export facility and severity parameter values.
Table 40-3 lists the supported PFC QoS data export severity parameter values.
This example shows how to configure 172.20.52.3 as the destination host and syslog as the UDP port number and verify the configuration:
Router# configure terminal
Router(config)# mls qos statistics-export destination 172.20.52.3 syslog
Router(config)# end
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 250 seconds
Export Delimiter : |
Export Destination : 172.20.52.3, UDP port 514 Facility local6, Severity debug
QoS Statistics Data Export is enabled on following ports:
---------------------------------------------------------
FastEthernet5/24
QoS Statistics Data export is enabled on following shared aggregate policers:
-----------------------------------------------------------------------------
aggr1M
QoS Statistics Data Export is enabled on following class-maps:
---------------------------------------------------------------
class3
Setting the PFC QoS Statistics Data Export Field Delimiter
To set the PFC QoS statistics data export field delimiter, perform this task:
This example shows how to set the PFC QoS statistics data export field delimiter and verify the configuration:
Router# configure terminal
Router(config)# mls qos statistics-export delimiter ,
Router(config)# end
Router# show mls qos statistics-export info
QoS Statistics Data Export Status and Configuration information
---------------------------------------------------------------
Export Status : enabled
Export Interval : 250 seconds
Export Delimiter : ,
Export Destination : 172.20.52.3, UDP port 514 Facility local6, Severity debug
QoS Statistics Data Export is enabled on following ports:
---------------------------------------------------------
FastEthernet5/24
QoS Statistics Data export is enabled on following shared aggregate policers:
-----------------------------------------------------------------------------
aggr1M
QoS Statistics Data Export is enabled on following class-maps:
---------------------------------------------------------------
class3