Pcornel
Networking · Network Assurance › Flexible NetFlow

Flow Monitor

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

Back to the Topic

Answer

A Flexible NetFlow monitor binds a flow record and exporters, holds the flow cache and timeouts, and is attached to interfaces with ip flow monitor <name> input|output.

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 monitor <name> cache — current flows
  • show flow monitor <name> statistics — cache use

Commands

flow monitor <name>
Create a Flexible NetFlow monitor that ties a record to exporters.
record <record>
Attach a flow record to a flow monitor.
exporter <exporter>
Attach a flow exporter to a flow monitor.
cache timeout active <seconds>
Set how long an active NetFlow flow is cached before it is exported.
show flow monitor <name> cache
Display flows currently in a NetFlow monitor cache.
show flow monitor <name>
show flow monitor NF-MON statistics

Verify in this order

traffic → monitor cache → timeouts → exporter

Where it usually breaks

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

Flow Monitor · operational reference

Monitor componentMeaning
Record bindingSchema used to classify packets
CacheRuntime flow state and counters
Exporter bindingOff-box delivery path
Interface + directionActual observation point

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

Confirmation

Confirm action

Continue?