Configuring A Netflow Minimum Prefix Mask For Router-Based Aggregation - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 40
Configuring NetFlow Statistics Collection
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 you define the aggregation
scheme, define the operational parameters for that scheme. More than one aggregation cache can be
configured concurrently.
To configure an aggregation cache, perform this task:
Command
Step 1
Router(config)# ip flow-aggregation cache as
Step 2
Router(config-flow-cache)#
cache timeout inactive 199
Step 3
Router(config-flow-cache)#
cache timeout active 45
Step 4
Router(config-flow-cache)#
export destination 10.42.41.1 9991
Step 5
Router(config-flow-cache)# enabled
Verifying Aggregation Cache Configuration and Data Export
To verify the aggregation cache information, perform this task:
Command
Router# show ip cache flow aggregation
destination-prefix
To confirm data export, perform the following task:
Command
Router# show ip flow export

Configuring a NetFlow Minimum Prefix Mask for Router-Based Aggregation

The minimum prefix mask specifies the shortest subnet mask that will be used for aggregating flows
within one of the IP-address based aggregation caches (e.g. source-prefix, destination-prefix, prefix). In
these caches, flows are aggregated based upon the IP address (source, destination, or both, respectively)
and masked by the longer of the Minimum Prefix mask and the subnet mask of the route to the
source/destination host of the flow (as found in the switch routing table).
OL-6696-01
Purpose
Enters aggregation cache configuration mode and enables an
aggregation cache scheme (autonomous system,
destination-prefix, prefix, protocol-port, or source-prefix).
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.
Specifies the number of minutes (in this example, 45) in
which an active entry is active.
Enables the data export.
Enables aggregation cache creation.
Purpose
Displays the specified aggregation cache
information.
Purpose
Displays the statistics for the data export including
the main cache and all other enabled caches.
Software Configuration Guide—Release 12.2(25)EW
Configuring NetFlow Statistics Collection
40-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents