Cisco Cisco 5760 Wireless LAN Controller Technical References

Page of 1016
If a cache is already active (that is, you have applied the flow monitor to at least one interface in the controller),
your changes to the parameters will not take effect until you either reboot the controller or remove the flow
monitor from every interface and then reapply it. Therefore, whenever possible you should customize the
parameters for the cache before you apply the flow monitor to an interface. You can modify the timers, flow
exporters, and statistics parameters for a cache while the cache is active.
The cache timeout active command controls the aging behavior of the normal type of cache. If a flow has
been active for a long time, it is usually desirable to age it out (starting a new flow for any subsequent packets
in the flow). This age out process allows the monitoring application that is receiving the exports to remain up
to date. By default, this timeout is 1800 seconds (30 minutes), but it can be adjusted according to system
requirements. A larger value ensures that long-lived flows are accounted for in a single flow record; a smaller
value results in a shorter delay between starting a new long-lived flow and exporting some data for it.
The cache timeout inactive command also controls the aging behavior of the normal type of cache. If a flow
has not seen any activity for a specified amount of time, that flow will be aged out. By default, this timeout
is 15 seconds, but this value can be adjusted depending on the type of traffic expected. If a large number of
short-lived flows is consuming many cache entries, reducing the inactive timeout can reduce this overhead.
If a large number of flows frequently get aged out before they have finished collecting their data, increasing
this timeout can result in better flow correlation.
The cache type normal command specifies the normal cache type. This is the default cache type. The entries
in the cache will be aged out according to the timeout active seconds and timeout inactive seconds settings.
When a cache entry is aged out, it is removed from the cache and exported via any exporters configured for
the monitor associated with the cache.
When a cache becomes full, new flows will not be monitored.
Note
Examples
The following example shows how to configure the active timeout for the flow monitor cache:
Controller(config)#
flow monitor FLOW-MONITOR-1
Controller(config-flow-monitor)#
cache timeout active 4800
The following example shows how to configure the inactive timer for the flow monitor cache:
Controller(config)#
flow monitor FLOW-MONITOR-1
Controller(config-flow-monitor)#
cache timeout inactive 30
The following example shows how to configure a normal cache:
Controller(config)#
flow monitor FLOW-MONITOR-1
Controller(config-flow-monitor)#
cache type normal
   Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)
862
OL-29471-01  
cache