13-34
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 13 Configuring CEF for PFC2 and PFC3A
Configuring the NetFlow Statistics on the Switch
This example shows how to display the statistics for a specified number of NetFlows with the maximum
network usage:
Console> show mls statistics entry ip top-talkers 2
Last Used
Destination IP Source IP Prot DstPrt SrcPrt Vlan Stat-Pkts Stat-Bytes
---------------- --------------- ----- ------ ------ ----- --------- -----------
12.0.0.5 11.0.0.6 255 N/A N/A N/A 387110 17807060
12.0.0.5 11.0.0.7 255 N/A N/A N/A 387109 17807014
Console>
Clearing the NetFlow IP and IPX Statistics
These sections describe how to clear the NetFlow statistics:
• Clearing All the NetFlow Statistics, page 13-34
• Clearing the NetFlow IP Statistics, page 13-34
• Clearing the NetFlow IPX Statistics, page 13-35
• Clearing the NetFlow Statistics Totals, page 13-36
Note The clear mls commands affect only the statistics. None of the clear mls commands affect the
forwarding entries or the NetFlow table entries that correspond to the forwarding entries.
Clearing All the NetFlow Statistics
To clear all the NetFlow IP and IPX statistics, perform this task in privileged mode:
This example shows how to clear all the NetFlow statistics:
Console> (enable) clear mls statistics entry all
All MLS IP and IPX entries cleared.
Console> (enable)
Clearing the NetFlow IP Statistics
The clear mls statistics entry ip command clears the NetFlow IP statistics. Use the all keyword to clear
all the NetFlow IP statistics. The destination and source keywords specify the source and destination
IP addresses. The destination and source ip_addr_spec can be a full IP address or a subnet address in the
format ip_subnet_addr, ip_addr/subnet_mask, or ip_addr/subnet_mask_bits.
Task Command
Clear all the NetFlow statistics. clear mls statistics entry all