Pcornel
Networking · Network Assurance › Flexible NetFlow

Interface

Cheat sheet · https://pcornel.dk/topic.php?topic=734

Back to the Topic

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.

Remember

  • 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.

First checks

  • show flow interface <interface> — monitors applied
  • show running-config interface <interface> — ip flow monitor <name> input/output

Commands

ip flow monitor <monitor> input
Apply a NetFlow monitor to traffic entering the interface.
ip flow monitor <monitor> output
Apply a NetFlow monitor to traffic leaving the interface.
show flow monitor <name> cache
Display flows currently in a NetFlow monitor cache.
ip flow monitor … input
show flow interface

Verify in this order

interface → monitor input/output → flows cached

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Interface · operational reference

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=734

Confirmation

Confirm action

Continue?