Configure Flow Export
- Last Updated: September 11, 2023
- 5 minute read
Network devices must be configured to generate and send NetFlow data to . Use the device's command line interface (CLI) to do this manually or do it automatically through the source configuration dialog (SETTINGS > Network Traffic Analysis > NTA Device Configuration). For automatic configuration, devices must be NetFlow enabled and have the Cisco NetFlow MIB (OID: 1.3.6.1.4.1.9.9.387).
To manually configure NetFlow enabled devices to send flow data to the collector:
Step 1. Open the configuration interface for the router and enter the commands detailed in the following table to configure global options for all interfaces on the router.
|
Command |
Purpose |
|
|
Enters privileged EXEC mode. Enter your password if prompted. |
|
|
Enters configuration mode. |
|
Example:
|
Sets the version of the NetFlow protocol that should be used to export data. supports versions 1, 5, 7, and 9 only. |
|
|
Enables the router to export Flow data. —where <IP> is the server's IP address. —and, where <port> is the listener port specified in the NTA Settings dialog. By default uses port 9999. |
Step 2. Enter the commands detailed in the following table to enable the router to export flow data about the traffic on an interface. You must repeat these commands for each interface.
|
Command |
Purpose |
|
|
Enters the configuration mode for the interface you specify. Substitute <interface> with the interface's name on the router. |
|
( and / or )
|
Enables Flow data export. Select the command that best fits your needs.
|
ip flow-cache timeout active <n>—where n is the number of minutes. The minutes should be configured to less than or equal to the NefFlow Data collection interval setting, which equals two minutes by default.