56-15
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 56 Configuring NetFlow NetFlow Configuration Examples
Autonomous System Configuration
This example shows how to configure an autonomous system aggregation cache with an inactive timeout
of 200 seconds, a cache active timeout of 45 minutes, an export destination IP address of 10.42.42.1, and
a destination port of 9992:
Switch(config)# ip flow-aggregation cache as
Switch(config-flow-cache)# cache timeout inactive 200
Switch(config-flow-cache)# cache timeout active 45
Switch(config-flow-cache)# export destination 10.42.42.1 9992
Switch(config-flow-cache)# enabled
Destination Prefix Configuration
This example shows how to configure a destination prefix aggregation cache with an inactiv e ti meout of
200 seconds, a cache active timeout of 45 minutes, an export destination IP address of 10.42.42.1, and
a destination port of 9992:
Switch(config)# ip flow-aggregation cache destination-prefix
Switch(config-flow-cache)# cache timeout inactive 200
Switch(config-flow-cache)# cache timeout active 45
Switch(config-flow-cache)# export destination 10.42.42.1 9992
Switch(config-flow-cache)# enabled
Prefix Configuration
This example shows how to configure a prefix aggregation cache with an inactive timeout of 200
seconds, a cache active timeout of 45 minutes, an export destination IP address of 10.42.42.1, and a
destination port of 9992:
Switch(config)# ip flow-aggregation cache prefix
Switch(config-flow-cache)# cache timeout inactive 200
Switch(config-flow-cache)# cache timeout active 45
Switch(config-flow-cache)# export destination 10.42.42.1 9992
Switch(config-flow-cache)# enabled
Protocol Port Configuration
This example shows how to configure a protocol port aggregation cache with an inactive timeout of 200
seconds, a cache active timeout of 45 minutes, an export destination IP address of 10.42.42.1, and a
destination port of 9992:
Switch(config)# ip flow-aggregation cache protocol-port
Switch(config-flow-cache)# cache timeout inactive 200
Switch(config-flow-cache)# cache timeout active 45
Switch(config-flow-cache)# export destination 10.42.42.1 9992
Switch(config-flow-cache)# enabled