Use it when NetFlow is configured but no flows appear for an interface.
Interface
Apply Flexible NetFlow per interface and direction (ip flow monitor <name> input or output); only traffic on monitored interfaces and directions creates flow records.
1. Apply a flow monitor to interfaces input and/or output.
2. Avoid double counting.
3. Choose ingress for most use.
4. Platform limits may apply.
5. Verify on each interface.
interface → monitor input/output → flows cached
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip flow monitor <monitor> inputPrimary Commands
Configuration and operational commands for this Topic.
ip flow monitor <monitor> inputReferenceApply a NetFlow monitor to traffic entering the interface.
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 · mixedip flow monitor <monitor> outputReferenceApply a NetFlow monitor to traffic leaving the interface.
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 Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
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.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and output interpretation Verify boundary
Inspect the interface configuration for the monitor and direction, verify monitor cache counters increase under representative traffic, and confirm exported records identify the expected interface/context. 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.
- 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.
show flow interface <interface>— monitors appliedshow running-config interface <interface>— ip flow monitor <name> input/output
ReferenceImportant terms & boundaries5 sections · depth on demand
Key operational limits
- 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.
In depth
Applying the monitor to interfaces and VLANs
The Catalyst 9300 Flexible NetFlow guide applies monitors under the interface with ip flow monitor <name> [sampler <name>] input|output (or ipv6 flow monitor, datalink flow monitor). Several monitors can be attached per interface and direction, but only one per traffic type. For bridged traffic, ip flow monitor … input can also be applied to a VLAN in vlan configuration mode.
C9300(config)# interface TenGigabitEthernet1/1/1
C9300(config-if)# ip flow monitor FM-IPV4-IN input
C9300(config-if)# ip flow monitor FM-IPV4-OUT output
C9300(config-if)# ipv6 flow monitor FM-IPV6-IN input
C9300(config)# vlan configuration 20
C9300(config-vlan-config)# ip flow monitor FM-IPV4-IN input
C9300# show flow interface TenGigabitEthernet1/1/1
Interface TenGigabitEthernet1/1/1
FNF: monitor: FM-IPV4-IN
direction: Input
traffic(ip): on
FNF: monitor: FM-IPV4-OUT
direction: Output
traffic(ip): on
Documented restrictions
| Restriction | Consequence |
|---|---|
| Not on Layer 2 port-channel interfaces | Apply on member ports |
| Layer 3 port-channels in stacks or StackWise Virtual | Apply on the port-channel interface |
| Not together with NBAR on the same interface | Choose one per interface |
| Tunnels not supported; MPLS-enabled interfaces not supported for NetFlow records | Monitor elsewhere in the path |
Where to apply
| Placement | Gives |
|---|---|
Uplinks, input and output | All traffic entering and leaving the switch |
User SVIs or VLANs, input | Per-VLAN traffic from users |
| Internet or WAN edge | Traffic to external destinations |
Monitoring only input on every interface usually captures each flow once per device. Monitoring both directions everywhere doubles the flow count without adding much.
Check after applying
show flow interface confirms attachment. show flow monitor <name> cache should start showing entries within seconds if traffic matches the record.
Documented example, not captured output.
Quick reference
Applying a flow monitor to an interface starts flow collection in the chosen direction. Input monitoring on all relevant interfaces is usually enough to see every flow once.
interface Gi0/1
ip flow monitor NF-MON input
ipv6 flow monitor NF-MON-V6 input
Documented example, not captured output.
Monitoring both input and output on many interfaces counts the same traffic several times at the collector; choose a consistent strategy.
Protocol/service mechanics and state model
Flexible NetFlow measurement becomes active when a Flow Monitor is attached to an interface in an ingress or egress direction supported by the platform. The observation point determines which headers and transformations are visible: for example, pre/post-NAT or pre/post-policy context can differ depending on attachment. Flow data therefore has meaning only when the interface and direction are preserved with the record. 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
A configured monitor or healthy exporter does not show the interface attachment is correct or that relevant traffic crosses that observation point. 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 & state2 sections · depth on demand
Lifecycle
Interface state, neighbor discovery, routing adjacencies, policy distribution, controller synchronization and FIB programming can converge at different times.
Design and configuration intent
Choose attachment points that answer the intended traffic question, avoid double-counting the same flow across multiple observation points unless deliberate, and document ingress/egress semantics with the collector/dashboard. 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 → Interface. 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%Quick lookup tables
Interface · operational reference
Compact protocol/state/evidence reference for fast lookup.
| NetFlow interface fact | Meaning |
|---|---|
| Monitor | Record/cache policy |
| Interface | Observation point |
| Direction | Ingress/egress scope |
| Cache growth | Traffic observed |