13-26
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 13 Configuring CEF for PFC2
Configuring NetFlow Statistics
IP statistics flows aging time = 256 seconds
IP statistics flows fast aging time = 0 seconds, packet threshold = 0
IP Current flow mask is Full flow
Netflow Data Export version:7
Netflow Data Export disabled
Netflow Data Export port/host is not configured.
Total packets exported = 0
IPX statistics flows aging time = 256 seconds
IPX flow mask is Destination flow
IPX max hop is 15
Module 15:Physical MAC-Address 00-50-3e-a9-ab-fc
Vlan Virtual MAC-Address(es)
---- -----------------------
42 00-00-0c-07-ac-00
Console>
The
show mls statistics entry
command can display all statistics or statistics for specific NetFlow table
entries. Specify the destination address, source address, and for IP, the protocol, and source and
destination ports to see the statistics for a specific NetFlow table entry.
A value of zero (0) for
src_port
or
dst_port
is treated as a wildcard, and all NetFlow statistics are
displayed (unspecified options are treated as wildcards). If the protocol specified is not TCP or UDP, set
the
src_port
and
dst_prt
to 0 or no NetFlow statistics will display.
To display statistics for NetFlow table entries, perform this task in privileged mode:
This example shows how to display NetFlow statistics for a particular NetFlow table entry:
Console>
show mls statistics entry ip destination 172.20.22.14
Last Used
Destination IP Source IP Prot DstPrt SrcPrt Stat-Pkts Stat-Bytes
--------------- --------------- ---- ------ ------ --------- -----------
MSFC 127.0.0.12:
172.20.22.14 172.20.25.10 6 50648 80 3152 347854
Console>
Clearing NetFlow IP and IPX Statistics
These sections describe clearing NetFlow statistics:
•
Clearing All NetFlow Statistics, page 13-27
•
Clearing NetFlow IP Statistics, page 13-27
•
Clearing NetFlow IPX Statistics, page 13-28
•
Clearing NetFlow Statistics Totals, page 13-28
Note
The
clear mls
commands affect only statistics. None of the
clear mls
commands affect forwarding
entries or the NetFlow table entries that correspond to the forwarding entries.
Task
Command
Display statistics for NetFlow table entries.
If you do not specify a NetFlow table entry,
all NetFlow statistics are shown.
show mls statistics entry
[
ip
|
ipx
|
uptime
]
[
destination
ip_addr_spec
] [
source
ip_addr_spec
]
[
flow
protocol src_port dst_port
]