PurposeCommand or Action
(Optional) Configures the number of entries in the flow cache.
Replace the number argument with the number of flow entries
allowed in the flow cache, in the range from 4096 through 1000000.
cache entries number
Example:
RP/0/RSP0/CPU0:router(config-fmm)# cache
entries 4096
Step 10
The default number of cache entries is 65535.
(Optional) Configures the active, inactive, or update flow cache
timeout value.
cache timeout {active timeout-value | inactive
timeout-value | update timeout-value}
Example:
RP/0/RSP0/CPU0:router(config-fmm)# cache
timeout active 10
Step 11
•
The default timeout value for the inactive flow cache is 15
seconds.
•
The default timeout value for the active flow cache is 1800
seconds.
•
The default timeout value for the update flow cache is 1800
seconds.
The update keyword and timeout-value argument are used
for permanent caches only. It specifies the timeout value
that is used to export entries from permanent caches. In this
case, the entries are exported but remain the cache.
Note
Commits the configuration changes to running to the running
configuration.
commit
Example:
RP/0/RSP0/CPU0:router(config-fmm)# commit
Step 12
Exits flow monitor map version configuration mode and enters global
configuration mode.
exit
Example:
RP/0/RSP0/CPU0:router(config-fmm)# exit
Step 13
Creates a sampler map and enters sampler map configuration mode.
When configuring a sampler map, be aware that NetFlow
supports policing at a rate of 35,000 packets per second per
direction for each individual line card.
Note
sampler-map map-name
Example:
RP/0/RSP0/CPU0:router(config)#
sampler-map
Step 14
Configures the sampling interval to use random mode for sampling
packets. For the sampling-interval argument, specify a number from
1 to 65535.
random 1 out-of sampling-interval
Example:
RP/0/RSP0/CPU0:router(config-sm)# random
1 out-of 65535
Step 15
Commits the configuration changes to running to the running
configuration.
commit
Example:
RP/0/RSP0/CPU0:router(config-sm)# commit
Step 16
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
296
Implementing Open Flow Agent
Configuring NetFlow for the OpenFlow Agent