Cisco NetFlow configuration
The port used for NetFlow traffic is specified in the configuration of your flow‑enabled Cisco appliance. The following excerpts from a Cisco router configuration file offer an example of where to look to enable NetFlow traffic on a Cisco router:
Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. ! interface GigabitEthernet0/1 description link to PIX ip address 10.3.1.2 255.255.255.252 ip route-cache flow ! ip flow-export source GigabitEthernet0/1 ip flow-export version 5 ip flow-export destination 220.127.116.11 2055 ip flow-cache timeout active 1 ip flow-cache timeout inactive 15 snmp-server ifindex persist !
ip flow-export destination value must reflect the IP address of your NPM server. This value also contains the port number (
2055) that is required in this step. The
ip route-cache flow, ip flow export source, and
ip flow-export version values are required to enable NetFlow traffic. SolarWinds NetFlow Traffic Analyzer supports NetFlow version 5 and version 9. For more information about NetFlow version 5 or 9, see your Cisco router documentation or the Cisco website at www.cisco.com. For more information on enabling NetFlow traffic on Cisco switches, see the Enabling NetFlow and NetFlow Data Export on Cisco Catalyst Switches technical reference on the SolarWinds website or your Cisco documentation.