Flexible NetFlow
Cheat sheet · https://pcornel.dk/topic.php?topic=730
Answer
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.
Remember
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.
First checks
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.
Commands
show flow monitor <name> cache- Local state
show flow recordshow flow monitorshow flow exporter
Verify in this order
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
Where it usually breaks
local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result
Flexible NetFlow · operational reference
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=730