Use it to see who talks to whom and how much — top talkers, unexpected traffic, capacity — and when the collector shows no data.
Flexible NetFlow
Flexible NetFlow records conversations passing through an interface: a record defines what identifies a flow and what is counted, a monitor holds the flow cache and is attached to the interface, and an exporter sends finished flows to a collector.
1. show flow interface <interface> — is the monitor attached in the right direction?
2. show flow monitor <name> cache — are flows being recorded?
3. Empty → traffic does not cross that interface in that direction.
4. Cache full of flows but collector empty → show flow exporter <name> statistics: sent? Collector address, port and source interface right?
5. Collector shows data, wrong fields → the record does not include them.
record defines key and non-key fields → monitor uses the record and an exporter → attached to the interface in the needed direction → flows appear in the cache → time out → exported from the source interface → collector receives template and records
The collector shows no data for this device, or only for some interfaces.
Possible stored cause: The flow monitor is not attached to the interface/direction, the exporter destination/port is wrong, or the source address is not reachable.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.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & 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.
The collector shows no data for this device, or only for some interfaces.
Step 1 First 30 seconds Verify boundary
Immediate answer: Verify monitor definition, exporter/record attachment, interface/direction and cache counters with generated traffic.
Verification chain: Packet → flow record key → monitor attachment → cache entry → exporter → collector
Stop condition: An empty cache does not show NetFlow is broken until attachment, direction and traffic are confirmed.
Step 2 Layered verification and original-test closure Verify boundary
Flexible NetFlow — Generate a known flow, confirm it appears in the local cache with expected key fields, then verify exporter counters and collector receipt for the same timestamped flow.
Step 3 Verification and output interpretation Verify boundary
Verify the object chain rather than only one command. show flow record shows the selected match/collect fields, show flow monitor and cache output show whether packets are being classified into flows, and show flow exporter exposes destination, source, transport and export statistics. Confirm the monitor is actually attached to the intended interface and direction. A growing flow cache with sensible packet/byte counters is evidence that the observation point sees traffic. Export packet counters or successful datagram statistics show that the device attempted or completed export, but they still do not show the external collector parsed, retained or indexed the records. When counts look wrong, compare traffic direction, sampling if present, flow aging, key choice and whether the tested traffic really crosses the monitored interface.
Step 4 Step-by-step troubleshooting Narrow the fault
Boundary rule: An empty cache does not show NetFlow is broken until attachment, direction and traffic are confirmed.
Step 5 Branching troubleshooting Narrow the fault
Path: Networking → Network Assurance → Flexible NetFlow. Local intent: Flexible NetFlow reference for flow keys, non-key fields, monitors, exporters, interface attachment, cache behavior and interpretation of exported telemetry.
Step 6 Observation → implication → next check Narrow the fault
Flexible NetFlow — If the collector is empty, first confirm the monitor is attached to the expected interface/direction and the cache increments. If cache entries exist but exports do not, inspect exporter destination, source, VRF and transport counters.
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.
Subtopics
Go one level deeper into this subject.
Flexible NetFlow Flow Record reference for match keys, collected fields, aggregation boundaries and the effect of field selection on cache semantics.
Subtopic Flow ExporterFlexible NetFlow Flow Exporter reference for collector destination, source interface, transport, template delivery and export counters.
Subtopic Flow MonitorFlexible NetFlow Flow Monitor reference for record binding, cache lifecycle, exporters, interface attachment and flow aging semantics.
Subtopic InterfaceDeep reference for applying Flexible NetFlow monitors to interfaces, ingress/egress direction and observation-point semantics.
Subtopic VerificationDeep reference for verifying Flexible NetFlow record, monitor cache, exporter counters and collector receipt as separate layers.
Four parts must be linked: record → monitor → interface (direction) → exporter. A monitor on input only does not see return traffic. The collector must know the exporter's source address and the template. Flows are exported only after they time out.
show flow interface <interface>— monitors attached, and in which direction.show flow monitor <name> cache— flows currently in the cache.show flow monitor <name> statistics— cache size, flows added and aged.show flow exporter <name> statistics— records sent, and any send failures.show running-config | section flow— the whole configuration.
ReferenceHow it works1 section · depth on demand
Operational mechanics and ownership
Flexible NetFlow — Flexible NetFlow separates records, flow monitors, exporters and interface attachment. A configured exporter does nothing until a monitor using a record is applied in the correct direction. The forwarding path creates flow-cache entries, the monitor defines collection, and the exporter sends records. Cache population and export transport are separate things to check with separate counters.
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
Flexible NetFlow
Flexible NetFlow records which flows pass through a device. Cisco's IOS XE Flexible NetFlow guide describes its components: a flow record of key fields (match, which define a flow) and non-key fields (collect, such as byte and packet counters), a flow monitor that applies the record to interfaces and keeps a cache, a flow exporter that sends cache data to a collector over UDP in version 9 format, and an optional sampler that reduces load at the cost of accuracy.
Key and non-key fields (FNF guide)
| Type | Role | Examples |
|---|---|---|
Key (match) | A new unique value creates a new flow | Source/destination address, protocol, ports, input interface |
Non-key (collect) | Added to existing flows | Bytes, packets, timestamps, TCP flags |
R1(config)# flow record FR-BASIC
R1(config-flow-record)# match ipv4 source address
R1(config-flow-record)# match ipv4 destination address
R1(config-flow-record)# match ipv4 protocol
R1(config-flow-record)# match transport source-port
R1(config-flow-record)# match transport destination-port
R1(config-flow-record)# match interface input
R1(config-flow-record)# collect counter bytes long
R1(config-flow-record)# collect counter packets long
R1(config-flow-record)# collect timestamp absolute first
R1(config)# flow exporter FE-COLLECTOR
R1(config-flow-exporter)# destination 10.99.0.30
R1(config-flow-exporter)# source Loopback0
R1(config-flow-exporter)# transport udp 2055
R1(config)# flow monitor FM-WAN
R1(config-flow-monitor)# record FR-BASIC
R1(config-flow-monitor)# exporter FE-COLLECTOR
R1(config)# interface GigabitEthernet0/0/0
R1(config-if)# ip flow monitor FM-WAN input
R1# show flow monitor FM-WAN cache sort highest counter bytes top 3
R1# show flow exporter FE-COLLECTOR statistics
Requirements and limits (FNF guide)
| Point | Detail |
|---|---|
| CEF | Must be enabled (IPv4 and IPv6) |
| Layer 2 interfaces | Not supported |
| Export over IPsec terminated on the same router | May need output-features under the exporter |
| Cache | Normal cache entries age out by active and inactive timeouts |
Uses
| Use | Example |
|---|---|
| Capacity planning | Top talkers and applications per link |
| Troubleshooting | Which flows filled a link at 10:40 |
| Security | Scans, unusual destinations, data exfiltration |
| Billing and reporting | Traffic per site or customer |
Documented example, not captured output.
State model and protocol mechanics
Flexible NetFlow separates classification, collection and export. A flow record defines the key fields that identify a flow and the non-key fields that are collected for that flow. A flow monitor binds a record to a cache, maintains flow state and applies aging/export behavior. An exporter defines where exported records are sent and with which source, transport and destination parameters. The monitor is then attached to one or more interfaces in an ingress or egress direction. Packets must cross that observation point and match the record semantics before cache entries appear. This object model matters operationally: a syntactically valid exporter does not create flows by itself, and a monitor can collect useful local cache state even when no exporter is configured. Flow identity also depends on the chosen keys; adding source/destination addresses, ports, protocol, VLAN or other keys changes aggregation and therefore the number and meaning of cache entries.
Limits and common misconceptions
Flexible NetFlow is metadata telemetry, not a packet capture. It can tell you who talked to whom, with what protocol and how many packets or bytes according to the configured record, but it does not normally preserve application payload. A zero-flow cache is not automatically an exporter fault; the monitor may be attached to the wrong interface/direction or the traffic may not cross that point. Conversely, exporter success does not show the collector stored the information. Flow counts are not connection counts unless the key definition makes them equivalent, and bidirectional application activity may appear as separate unidirectional flows. NAT, tunneling and service chaining can also make pre- and post-transformation observations look different. Preserve the record definition whenever using flow data as evidence because the key set determines what the counters actually represent.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Design Flexible NetFlow from the question the telemetry must answer. Choose only the match keys needed to distinguish useful conversations, then add collect fields for counters, timestamps, interface information or other context. Build the record first, bind it to a monitor, configure cache/aging where required, create an exporter with an intentional source interface and reachable collector destination, then attach the monitor to the correct interfaces and direction. Ingress and egress observation answer different questions and can produce different counts because features such as routing, NAT, policy and encapsulation may alter the packet between observation points. Keep template/export compatibility with the collector in mind, and avoid very high-cardinality records unless the platform and collector capacity can absorb the resulting cache and export rate. Document the observation point so exported data is not later mistaken for end-to-end packet capture.
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. 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: flow record/monitor/exporter/interface object model. 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%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
NetFlow / Flexible NetFlow evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show flow monitor <name> cache | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | packet at observation point → record key → monitor cache → expiration → exporter → collector decode | application success |
Flexible NetFlow · operational reference
Compact state and interpretation boundaries for fast lookup.
| Layer | Canonical evidence | Interpretation |
|---|---|---|
| Record | Match + collect fields | Defines flow identity and collected metadata |
| Monitor/cache | Active flow entries and counters | Traffic crosses the observation point |
| Interface attachment | Monitor + direction | Defines where packets are observed |
| Exporter | Destination/source/export stats | Device sends records toward collector |