- Index
- Preface
- Product Overview
- Command-Line Interfaces
- Smart Port Macros
- Virtual Switching Systems (VSS)
- Enhanced Fast Software Ugrade (eFSU)
- NSF with SSO Supervisor Engine Redundancy
- RPR Supervisor Engine Redundancy
- Interface Configuration
- UniDirectional Link Detection (UDLD)
- Power Management and Environmental Monitoring
- EnergyWise
- Online Diagnostics
- Onboard Failure Logging
- Switch Fabric Functionality
- Cisco IP Phone Support
- Power over Ethernet
- Layer 2 LAN Ports
- Flex Links
- EtherChannels
- mLACP for Server Access
- IEEE 802.1ak MVRP and MRP
- VLAN Trunking Protocol (VTP)
- VLANs
- Private VLANs (PVLANs)
- Private Hosts
- IEEE 802.1Q Tunneling
- Layer 2 Protocol Tunneling
- STP and MST
- Optional STP Features
- Layer 3 Interface Configuration
- Unidirectional Ethernet (UDE) and unidirectional link routing (UDLR)
- Multiprotocol Label Switching (MPLS)
- L2VPN Advanced VPLS (A-VPLS)
- IP Unicast Layer 3 Switching
- IPv6 Multicast Layer 3 Switching
- MLD Snooping for IPv6 Multicast Traffic
- IPv4 Multicast Layer 3 Switching
- IGMP Snooping and MVR for IPv4 Multicast Traffic
- Configuring MVR for IPv4 Multicast Traffic
- IPv4 IGMP Filtering and Router Guard
- PIM Snooping
- IPv4 Multicast VPN Support
- PFC QoS
- AutoQoS
- MPLS QoS
- PFC QoS Statistics Data Export
- Network Security
- AutoSecure
- Cisco IOS ACL Support
- Cisco TrustSec (CTS)
- Port ACLs (PACLs) and VLAN ACLs (VACLs)
- Denial of Service Protection
- Control Plane Policing (CoPP)
- DHCP Snooping
- IP Source Guard
- Dynamic ARP Inspection
- Traffic Storm Control
- Unknown Unicast and Multicast Flood Control
- Network Admission Control (NAC)
- IEEE 802.1X Port-Based Authentication
- Web-Based Authentication
- Port Security
- NetFlow
- NetFlow Data Export (NDE)
- Call Home
- System Event Archive (SEA)
- Backplane Platform Monitoring
- SPAN, RSPAN, and ERSPAN
- SNMP IfIndex Persistence
- Top-N Reports
- Layer 2 Traceroute Utility
- Mini Protocol Analyzer
- Ethernet Services Line Cards
- 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 in Cisco IOS Release 12.2SX.
Note For complete syntax and usage information for the commands used in this chapter, see the Cisco IOS Master Command List, at this URL:
http://www.cisco.com/en/US/docs/ios/mcl/allreleasemcl/all_book.html
Tip For additional information about Cisco Catalyst 6500 Series Switches (including configuration examples and troubleshooting information), see the documents listed on this page:
http://www.cisco.com/en/US/products/hw/switches/ps708/tsd_products_support_series_home.html
Participate in the Technical Documentation Ideas forum
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
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 configured aggregate policers.
Note The PFC QoS statistics data export feature is completely separate from NetFlow Data Export and does not interact with it.
PFC QoS Statistics Data Export Default Configuration
Table 46-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. |
Step 3 |
Router(config)# end |
Exits configuration mode. |
Step 4 |
Router# show mls qos statistics-export info |
Verifies the configuration. |
1 type = 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")
•PFC or DFC 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")
–PFC or DFC 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")
–PFC or DFC 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 46-2 lists the supported PFC QoS data export facility and severity parameter values.
Table 46-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
Tip For additional information about Cisco Catalyst 6500 Series Switches (including configuration examples and troubleshooting information), see the documents listed on this page:
http://www.cisco.com/en/US/products/hw/switches/ps708/tsd_products_support_series_home.html
Participate in the Technical Documentation Ideas forum