Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Interface

Direct answer

Apply Flexible NetFlow per interface and direction (ip flow monitor <name> input or output); only traffic on monitored interfaces and directions creates flow records.

When to use this

Use it when NetFlow is configured but no flows appear for an interface.

First 30 seconds

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.

Operational verification

interface → monitor input/output → flows cached

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 commandip flow monitor <monitor> input
Scope / prerequisiteUse it when NetFlow is configured but no flows appear for an interface.
Reference · 3
What next?3 suggested next steps
Catalog command links3
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

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.

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 interface <interface> — monitors applied
  • show 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

RestrictionConsequence
Not on Layer 2 port-channel interfacesApply on member ports
Layer 3 port-channels in stacks or StackWise VirtualApply on the port-channel interface
Not together with NBAR on the same interfaceChoose one per interface
Tunnels not supported; MPLS-enabled interfaces not supported for NetFlow recordsMonitor elsewhere in the path

Where to apply

PlacementGives
Uplinks, input and outputAll traffic entering and leaving the switch
User SVIs or VLANs, inputPer-VLAN traffic from users
Internet or WAN edgeTraffic 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.

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

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.

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

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
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 → 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%
Embedded reference data

Quick lookup tables

Interface · operational reference

Compact protocol/state/evidence reference for fast lookup.

NetFlow interface factMeaning
MonitorRecord/cache policy
InterfaceObservation point
DirectionIngress/egress scope
Cache growthTraffic observed
Confirmation

Confirm action

Continue?