cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1312
Views
5
Helpful
1
Replies

Netflow Configuration Guide

swieland
Level 1
Level 1

I am trying to provide a guide on how to configure interfaces on Cisco routers to get the correct netflow sent to the CA Technologies NetQos product. Below is what I have so far, but there are so many veriables it is hard to make this a simple document. Can anyone provied some input on what I could do to clean this up?

Information that produced the directions below:

  • “ip route-cache flow” is collecting inbound netflow only, so to get the entire picture on what is coming in and out of a particular interface, this command needs to be added to all interfaces that receive traffic that may exit the interface to be monitored. Is this the correct approach?
  • For the IOS that added the “ip flow egress” command, is the “ip route-cache flow” command still used to get inbound flow information? I am confused on that.
  • Is there a case where the “ip flow ingress” is the only command that can be used? If so what is the recommended configuration?

Interface Commands:

Cisco interface commands to be used are dependent on the router model, IOS level and commands supported. The following guidelines should help you to identify which commands to use. If the commands are allowed on the sub-interface, using them at this level will reduce the amount of traffic sent to the netflwo collector.

  • If your IOS level is below 12.4(2)T or 12.2(18)SXD and the ip route-cache flow is the only command available. Use this command on primary interfaces only (if you are trying to monitor a sub-interface, place the command on the primary interface for this sub-interface. It will apply to all sub-interfaces.) Add this command to all primary interfaces on the router that have incoming traffic that will exit on the interface to be monitored.

! Replace {#} with interface name

Interface [#]

ip route-cache flow

  • If your IOS level is 12.3 T and the “ip flow egress” command is the only command available, use this command ????????

  • If your IOS level is 12.4(2)T or 12.2(18)SXD or higher and the “ip flow egress” and “ip flow ingress” commands are both available, use both of these commands on the primary or sub-interface but not both.
    ! Replace {#} with interface or sub-interface name

Interface [#]

ip flow egress

ip flow ingress

1 Accepted Solution

Accepted Solutions

jakewilson
Level 1
Level 1

If your question is on when to export ingress Vs. egress flows.  Plixer has blogged extensively on this topic.  For example, lovemytool.com has a great post that will give you the cli syntax.

Jake

View solution in original post

1 Reply 1

jakewilson
Level 1
Level 1

If your question is on when to export ingress Vs. egress flows.  Plixer has blogged extensively on this topic.  For example, lovemytool.com has a great post that will give you the cli syntax.

Jake

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco