13-30
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
Specifying the NetFlow Table IP Entry Fast Aging Time and Packet Threshold
Values
Note
The IPX entries do not use fast aging.
To increase the utilization of the NetFlow table, enable IP entry fast aging time. The IP entry fast aging
time applies to the NetFlow table entries that have no more than
pkt_threshold
packets that are routed
within
fastagingtime
seconds after they are created. A typical NetFlow table entry that is removed is the
entry for flows to and from a Domain Name Server (DNS) or TFTP server; the entry might never be used
again after it is created. Detecting and aging out these entries saves space in the NetFlow table for other
data traffic.
The default
fastagingtime
value is 0 (no fast aging). For Supervisor Engine 1 and Supervisor Engine 2,
you can configure the
fastagingtime
value from 8–128 seconds in increments of 8 seconds. For
Supervisor Engine 720, you can configure the
fastagingtime
value from 0–128 seconds in increments of
1 second. Any
fastagingtime
value that is not configured exactly as the indicated values is adjusted to
the closest one. For Supervisor Engine 1 and Supervisor Engine 2, you can configure the
pkt_threshold
value to 0, 1, 3, 7, 15, 31, 63, or 127 packets. For Supervisor Engine 720, you can configure the
pkt_threshold
value from 1–127 packets in increments of 1 packet.
If you need to enable IP entry fast aging time, initially set the value to 128 seconds. If the NetFlow table
remains full, decrease the setting. If the NetFlow table continues to remain full, decrease the normal IP
entry aging time.
To specify the IP entry fast aging time and packet threshold, perform this task in privileged mode:
This example shows how to set the IP entry fast aging time to 8 seconds with a packet threshold of
15 packets:
Console> (enable)
set mls agingtime fast 8 15
Multilayer switching fast aging time set to 8 seconds for entries with no more than 15
packets switched.
Console> (enable)
You can force an active flow to age out by entering the
set mls agingtime long-duration
{
longagingtime
} command. You can specify the aging time of the active flow in the range of
64–1920 seconds in increments of 64. The default
longagingtime
is 320.
This example shows how to set the aging time for active flows:
Console> (enable)
set mls agingtime long-duration 128
Multilayer switching agingtime set to 128 seconds for long duration flows
Console> (enable)
Task
Command
Specify the IP entry fast aging time and
packet threshold for a NetFlow table
entry.
set mls agingtime fast
[
fastagingtime
] [
pkt_threshold
]