56-12
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 56 Configuring NetFlow
Configuring NetFlow Statistics Collection

Configuring the Minimum Mask of a Source-Prefix Aggregation Scheme

To configure the minimum mask of a source-prefix aggregation scheme, perform this task:

Monitoring and Maintaining Minimum Masks for Aggregation Schemes

To view the configured value of the minimum mask, use the following commands for each aggregation
scheme, as needed:
Configuring NetFlow Aging Parameters
You can control when flows are purged from the software flow cache (and, if configured, reported
through NDE) with the configuration aging parameters, Active and Inactive, of the ip flow-cache
timeout command.
Active Aging specifies the period of time in which a flow should be removed from the software flow
cache after the flow is created. Generally, this parameter is used to periodically notify external collection
devices about active flows. This parameter operates independently of exi sting traffic on the flow. Active
timeout settings are usually measured in minutes (default is 30 minutes).
Inactive Aging specifies how long to wait before removing a flow after the last packet is seen. The
inactive parameter clears the flow cache of stale flows, which prevents new flows from starving (due to
lack of resources). Inactive timeout settings are generally on the order of seconds (default is 15 seconds).
Command Purpose
Step 1 Switch(config)# ip flow-aggregation cache source-prefix Configures the source-prefix aggregation
cache.
Step 2 Switch(config-flow-cache)# mask source minimum value Specifies the minimum value for the source
mask.
Command Purpose
Switch# show ip cache flow aggregation prefix Displays the configured value of the
minimum mask in the prefix aggregation
scheme.
Switch# show ip cache flow aggregation
destination-prefix Displays the configured value of the
minimum mask in the destination-prefix
aggregation scheme.
Switch# show ip cache flow aggregation
source-prefix Displays the configured value of the
minimum mask in the source-prefix
aggregation scheme.