Use it after configuring NetFlow, and when the collector shows no or partial data.
Verification · Flexible NetFlow
Verifying Flexible NetFlow means checking each link in the chain: the monitor is attached in the right direction, flows appear in its cache, the exporter sends them, and the collector receives them.
1. show flow interface <interface> — attached, right direction?
2. show flow monitor <name> cache — flows present?
3. show flow exporter <name> statistics — sent counter rising, no errors?
4. Collector empty → destination, UDP port and source address right? Reachable?
5. Collector shows flows but no fields → template not received yet, or the record lacks them.
monitor attached in the needed direction → flows in the cache → flows age out → exported from the source interface → collector receives template and records → data visible
Verify monitor attachment/direction and exporter/collector state.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show flow monitor <monitor> cacheShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show flow monitor <monitor> cacheReferenceRead-only Networking observation for Inspect Flexible NetFlow monitor cache. Focus: flow keys, counters, timestamps and cache records for the monitor.
Use when: Use while isolating the canonical Topic ccna-encor-network-assurance-flexible-netflow-verification at the matching failure boundary.
Quick note: Illustrative samples below teach interpretation only; they are not captured production evidence.
Cisco IOS / IOS XE · mixedshow flow monitor <monitor>ReferenceRead-only Networking observation for Inspect Flexible NetFlow monitor configuration. Focus: record, exporter, cache and monitor configuration/state.
Use when: Use while isolating the canonical Topic ccna-encor-network-assurance-flexible-netflow-verification at the matching failure boundary.
Quick note: Illustrative samples below teach interpretation only; they are not captured production evidence.
Cisco IOS / IOS XE · control planeshow flow recordShowDisplay NetFlow records.
Use when: Use this command at the NetFlow / Flexible NetFlow boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A populated local cache does not prove export; collector receipt does not provide packet payload.
Cisco IOS / IOS XE · mixedshow flow exporterShowDisplay NetFlow exporter settings and statistics.
Use when: Use this command at the NetFlow / Flexible NetFlow boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A populated local cache does not prove export; collector receipt does not provide packet payload.
Cisco IOS / IOS XE · mixedshow flow monitorShowDisplay NetFlow monitors.
Use when: Use this command at the NetFlow / Flexible NetFlow boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A populated local cache does not prove export; collector receipt does not provide packet payload.
Cisco IOS / IOS XE · mixedshow flow monitor <name> cacheReferenceDisplay flows currently in a NetFlow monitor cache.
Use when: Use this command at the NetFlow / Flexible NetFlow boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A populated local cache does not prove export; collector receipt does not provide packet payload.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 First 30 seconds Verify boundary
Immediate answer: Verify monitor attachment/direction, cache population, exporter statistics and collector receipt as separate boundaries.
Verification chain: packet → interface monitor → flow record/cache → exporter → transport → collector decode/store → query
Stop condition: A populated local flow cache does not show export packets left the device or were accepted by the collector.
Step 2 Known-good, broken and proof-boundary verification Verify boundary
Known-good NetFlow means the controlled flow appears in the expected monitor cache with correct key/non-key fields and, when export is required, the collector receives a corresponding record/template. Broken state includes zero cache matches, export failures, template mismatch or wrong field values. Compare device cache/export counters with collector timestamp and tuple. A collector record does not show packet delivery or application success; it shows observation/export at those configured boundaries only.
Step 3 Verification and output interpretation Verify boundary
Confirm monitor attachment and cache entries first, then exporter packet/template counters, routing to the collector, and finally collector receipt/field interpretation for the same time window. Verify from observation inward to collector: interface attachment and direction, cache entry growth, record fields, exporter packet/template counters, route/transport to collector, and collector receipt for the same time window. Compare values to known traffic so empty or surprising caches have context.
Step 4 Verification & troubleshooting Narrow the fault
1. Verify record fields.
2. Verify monitor binding and cache timers.
3. Confirm interface/direction.
4. Generate controlled traffic and inspect cache.
5. Verify exporter counters and collector templates/data.
Step 5 Branching troubleshooting Narrow the fault
Path: Networking → Flexible NetFlow → Verification. Local intent: Deep reference for verifying Flexible NetFlow record, monitor cache, exporter counters and collector receipt as separate layers.
Step 6 Failure isolation: observation → implication → next check Narrow the fault
If the monitor cache is empty, generate a known flow and verify monitor attachment, direction and record match first. If cache entries exist but the collector sees nothing, inspect exporter source, destination, VRF, transport reachability and export counters. If records arrive but fields are unusable, inspect the record template and collector decoding. If only some flows are absent, compare sampling, ingress/egress placement and asymmetric paths. Keep a unique 5-tuple so cache and collector records can be correlated.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
An empty cache means no matching traffic in that direction. A full cache with nothing at the collector is an exporter or path problem. The collector needs the template before it can decode records.
show flow interface <interface>— monitors attached, and direction.show flow monitor <name> cache— flows recorded.show flow monitor <name> statistics— flows added and aged.show flow exporter <name> statistics— packets sent and errors.show flow exporter <name>— destination, port, source interface.
ReferenceWhy it matters1 section · depth on demand
Internals and state
Local intent: Deep reference for verifying Flexible NetFlow record, monitor cache, exporter counters and collector receipt as separate layers.
ReferenceHow it works1 section · depth on demand
Mechanics, state owner and dependency boundary
Flexible NetFlow separates record definition, monitor attachment, cache population and exporter delivery. The data plane must match packets into the monitor before any exporter can send useful records. A configured exporter with no cache entries can therefore be completely healthy while the monitor is attached to the wrong interface/direction or the record omits needed keys. Collector receipt is another dependency and does not show every expected flow is observed.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Verifying Flexible NetFlow from record to collector
The Catalyst 9300 Flexible NetFlow guide lists the verification commands: show flow monitor [name] cache [format table|record|csv], show flow monitor [name] statistics, show flow exporter [name] [statistics | templates], show flow record, show flow interface, and show sampler.
C9300# show flow interface Te1/1/1
C9300# show flow monitor FM-IPV4-IN cache format table | head 6
IPV4 SRC ADDR IPV4 DST ADDR TRNS SRC PORT TRNS DST PORT IP PROT bytes layer2 long pkts long
=============== =============== ============= ============= ======= ================= =========
10.20.0.64 10.10.50.10 51842 53 17 184 2
10.20.0.81 142.250.74.46 60221 443 6 18234112 14211
C9300# show flow monitor FM-IPV4-IN statistics
C9300# show flow exporter FE-COLLECTOR1 statistics
C9300# show flow exporter FE-COLLECTOR1 templates
Verification chain
| Step | Command | Confirms |
|---|---|---|
| 1 | show flow record <name> | The intended key and collect fields |
| 2 | show flow interface <id> | Monitor attached in the right direction |
| 3 | show flow monitor <name> cache | Flows are created |
| 4 | show flow monitor <name> statistics | Flows are aged out and exported, not dropped |
| 5 | show flow exporter <name> statistics | Packets sent successfully |
| 6 | Collector | Flows decoded and attributed to the right device and interface |
Common problems
| Symptom | Cause |
|---|---|
| Empty cache | Monitor not on the interface carrying the traffic; wrong direction; unsupported interface type |
| Cache fills, flows dropped | Too many flows for the table; sample or reduce key fields |
| Exporter sent count rises, collector empty | Firewall, wrong UDP port, or the collector lacks templates |
| Byte counts look wrong | bytes long on non-802.3 traffic; the guide recommends bytes layer2 long |
| Long flows appear late | Active timeout still 1800 s |
Sanity check against interface counters
Compare the total bytes the collector reports for an interface over an hour with show interfaces counters for the same hour. Large differences point to sampling, dropped flows or wrong interface indexes.
Documented example, not captured output.
Method
Flexible NetFlow verification checks each part of the chain from interface to collector.
1. show flow interface <if> — monitor attached in the right direction.
2. show flow monitor <name> cache — flows being created.
3. show flow monitor <name> statistics — cache usage, no drops.
4. show flow exporter <name> statistics — packets sent, no errors.
5. Collector: data received from the device's source address.
| Symptom | Likely cause |
|---|---|
| Empty cache | Monitor not applied or wrong direction |
| Cache full | Cache size too small for traffic |
| Exports sent, collector empty | Firewall, wrong port, template not yet received |
Protocol/service mechanics and state model
Flexible NetFlow has multiple observable stages. The Flow Record defines keys/non-key fields, the monitor creates cache entries, the exporter serializes them toward a collector, and the collector parses/stores them. Counters at each stage allow the pipeline to be localized without assuming that “exporter up” means useful flow data exists. Flexible NetFlow is a measurement pipeline: a Flow Record defines keys/fields, a Flow Monitor maintains cache state, an interface/direction supplies observation, an exporter sends templates/data and a collector interprets records. Each stage can be healthy independently, so the observation point and pipeline counters are part of the meaning of every result.
Limits and common misconceptions
Export packets leaving the device do not show collector ingestion; collector records do not show every packet was observed; flow telemetry is summarized metadata rather than packet capture. Flow telemetry summarizes conversations rather than preserving packets. A cache entry does not show application success, exporter counters do not show collector ingestion, and collector dashboards can aggregate away important detail. Keep measurement point, flow state, export transport and collector interpretation separate.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration intent
Keep record templates stable enough for collector compatibility, align active/inactive timeouts with visibility needs, and make collector transport/source routing explicit. Changes should be verified at cache and collector, not only in running configuration. Design records around the question being answered, attach monitors only where the intended traffic crosses, align cache timeouts with the required resolution and keep exporter source/routing/template compatibility explicit. Avoid collecting redundant fields or duplicate observation points without purpose because they increase load and complicate interpretation.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → Flexible NetFlow → Verification. 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%Official Cisco vendor documentation reviewed for bounded reference claims: Flexible NetFlow cache/export verification boundaries. This is documentation-based technical verification, not lab or production-runtime proof. Deployment-specific applicability and runtime outcome remain separate evidence.
Basis: https://www.cisco.com/c/en/us/td/docs/routers/ios/config/17-x/ntw-servs/b-network-services/m_fnf-fnetflow.html · confidence 94%Quick lookup tables
Verification · operational reference
Compact protocol/state/evidence reference for fast lookup.
| NetFlow stage | Proof |
|---|---|
| Record | Fields defined |
| Monitor/cache | Flows observed |
| Exporter | Records sent |
| Collector | Data received/parsed |