Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Flow Monitor

Direct answer

A Flexible NetFlow monitor binds a flow record and exporters, holds the flow cache and timeouts, and is attached to interfaces with ip flow monitor <name> input|output.

When to use this

Use it when binding a flow record and exporter, and tuning the flow cache.

First 30 seconds

1. A flow monitor ties a record and exporter and holds the cache.

2. Timeouts control export timing.

3. Cache size limits flows.

4. Apply to interfaces.

5. Watch cache full drops.

Operational verification

traffic → monitor cache → timeouts → exporter

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Key commandflow monitor <name>
Scope / prerequisiteUse it when binding a flow record and exporter, and tuning the flow cache.
Reference · 5
What next?3 suggested next steps
Catalog command links5
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and output interpretation Verify boundary

Use show flow monitor <name> and cache commands to confirm the bound record, exporter, cache size and active entries. Verify packet/byte counters increase for traffic that definitely traverses the attached interface. Inspect example keys and timestamps to ensure aggregation matches the intended record. Then check interface configuration or monitor attachment output to show direction. An empty cache with active user traffic usually points toward attachment, direction, traffic path or record applicability before it points toward the exporter. A populated cache plus stable exporter counters can establish strong device-side telemetry health, while collector receipt remains a separate check.

Command lookup Jump straight to Cisco syntax
Key points
  • Match fields define the flow key; collect fields add measurements
  • The monitor binds record and exporter
  • Interface and direction determine observation point
  • Cache population and exporter delivery are separate evidence boundaries.
Key checks
  • show flow monitor <name> cache — current flows
  • show flow monitor <name> statistics — cache use
ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

The flow monitor ties a record to exporters and holds the flow cache

The Catalyst 9300 Flexible NetFlow guide describes the flow monitor as binding a record, one or more exporters, and cache settings: record, exporter, cache timeout active, cache timeout inactive and cache type normal. The defaults are an active timeout of 1800 s and an inactive timeout of 15 s.

C9300(config)# flow monitor FM-IPV4-IN
C9300(config-flow-monitor)# record FR-IPV4
C9300(config-flow-monitor)# exporter FE-COLLECTOR1
C9300(config-flow-monitor)# exporter FE-COLLECTOR2
C9300(config-flow-monitor)# cache timeout active 60
C9300(config-flow-monitor)# cache timeout inactive 15
C9300# show flow monitor FM-IPV4-IN statistics
  Cache type:                               Normal (Platform cache)
  Cache size:                                Unknown
  Current entries:                           12834
  Flows added:                             9128831
  Flows aged:                              9115997
    - Active timeout      (    60 secs)     2183302
    - Inactive timeout    (    15 secs)     6932695

Timeouts

TimeoutMeaningEffect of the value
ActiveA long-lived flow is exported periodically while still activeThe default 1800 s means a long download shows up 30 minutes late; 60 s gives near-real-time graphs
InactiveA flow idle this long is exported and removedShort values free cache entries quickly

Capacity (documented)

LimitValue
Flow monitorsUp to 15
Table size32K ingress and 32K egress entries per core/ASIC (Essentials and Advantage)
Practical utilisationAround 80 % because of hash collisions
IPv6 and datalink flowsTwo entries per flow
SharingA monitor can't be shared between Layer 3 physical and logical interfaces

Sampling

With very high flow rates, attach a sampler (sampler SMP mode random 1 out-of 100) to the monitor on the interface. The guide lists four hardware samplers. The collector multiplies sampled counts to estimate totals.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A flow monitor ties a flow record to one or more exporters and defines the cache: its size and the active and inactive timeouts after which flows are exported.

flow monitor NF-MON
 record NF-REC
 exporter NF-EXP
 cache timeout active 60
 cache timeout inactive 15

Documented example, not captured output.

TimeoutEffect
ActiveLong flows are exported periodically
InactiveIdle flows are exported and removed

Check cache usage with show flow monitor NF-MON statistics to avoid cache full drops.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

A Flow Monitor turns a flow-record schema into runtime flow state. The monitor references a record, maintains a cache of active/inactive flows and can reference one or more exporters depending on platform capabilities. Flow aging controls when inactive or long-lived cache entries are expired and exported. The cache is populated only after the monitor is attached to an observation point and packets cross that point. Ingress and egress monitors observe different forwarding stages and can therefore see different header values or packet counts. The monitor is the most useful device-side evidence point because it connects schema, cache state and export behavior without requiring the external collector to be healthy.

Limits and common misconceptions

A Flow Monitor is not globally active just because it exists in configuration. Without interface attachment it collects nothing, and attachment on the wrong direction can make legitimate traffic invisible. Cache size is not equivalent to current session count because entries are shaped by key fields and aging timers. Clearing a cache is state-changing and destroys useful historical evidence, so record its state before clearing during diagnosis. Exporter failure does not necessarily stop local cache collection, and local cache health does not show exported records are usable downstream. Treat monitor cache state as device-local observation, not end-to-end telemetry assurance.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Create the monitor after the record is defined, bind the intended record, add the exporter when off-box telemetry is required, and adjust cache timeout behavior only for a clear operational reason. Short inactive timers can produce timely records but raise export churn; long timers reduce churn but delay visibility of completed conversations. Apply the monitor to interfaces and direction deliberately, avoiding duplicate observation points unless duplicate visibility is intended and understood. In routed designs, consider whether ingress observation before a transformation or egress observation after a policy/NAT/tunnel action is the desired evidence point. Document monitor attachment with the record name so later operators know both what is measured and where it is measured.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → Flexible NetFlow → Flow Monitor. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

Flow Monitor · operational reference

Compact state and interpretation boundaries for fast lookup.

Monitor componentMeaning
Record bindingSchema used to classify packets
CacheRuntime flow state and counters
Exporter bindingOff-box delivery path
Interface + directionActual observation point
Confirmation

Confirm action

Continue?