After the virtual router creates a flow in the cache, the flow is removed at the expiration of either the active or the inactive timer.
In sampled environments, methods for detecting the end of a flow can be unreliable. The active timer places a hard limit on how long a flow may last before the virtual router closes it and gathers the necessary statistics. If the flow is still active when the active timer expires, the virtual router creates a new flow entry to replace the closed flow.
The inactive timer removes flows if they do not contain any data traffic for a specified period of time.