38-10
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter38 Configuring NetFlow
Configuring NetFlow Statistics Collection
Configuring an Aggregation Cache
Aggregation of NetFlow Statistics is typically performed by NetFlow collection tools on management
workstations. By extending this support to the Catalyst 4500 series switch, you can do the following:
Reduce the required bandwidth between the switch and workstations, because fewer NDE packets
are exported.
Reduce the number of collection workstations required.
Provide visibility to aggregated flow statistics at the CLI.
To configure an aggregation cache, you must enter the aggregation cache configuration mode, and you
must decide which type of aggregation scheme you would like to configure: autonomous system,
destination prefix, protocol prefix, or source prefix aggregation cache. Once yo u define the aggregation
scheme, define the operational parameters for that scheme. More than one aggregation cache c an be
configured concurrently.
To configure an aggregation cache, perform this task:

Verifying Aggregation Cache Configuration and Data Export

To verify the aggregation cache information, perform this task:
To confirm data export, perform the following task:
Command Purpose
Step1 Router(config)# ip flow-aggregation cache as Enters aggregation cache configuration mode and enables an
aggregation cache scheme (autonomous system,
destination-prefix, prefix, protocol-port, or source-prefix).
Step2 Router(config-flow-cache)#
cache timeout inactive 199
Specifies the number of seconds (in this example, 199) in
which an inactive entry is allowed to remain in the
aggregation cache before it is deleted.
Step3 Router(config-flow-cache)#
cache timeout active 45
Specifies the number of minutes (in this example, 45) in
which an active entry is active.
Step4 Router(config-flow-cache)#
export destination 10.42.41.1 9991
Enables the data export.
Step5 Router(config-flow-cache)# enabled Enables aggregation cache creation.
Command Purpose
Router# show ip cache flow aggregation
destination-prefix
Displays the specified aggregation cache
information.
Command Purpose
Router# show ip flow export Displays the statistics for the data export including
the main cache and all other enabled caches.