Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How to use NAM to collect Netflow data

We have couple of NAM installed on our network, we want to collect layer-2 Netflow data since some of the NAM mod is installed on access layer switch (all of our switches have Sup 32 witch PFC3B card) which don't have a lot of traffic to affect performance.

After we turned on the netflow, we only get broadcast information on the NAM instead of real network traffic, but if we issue command

Show ip cache flow

On the switch which been turned on netflow, we will get real traffic data.

3 REPLIES
Cisco Employee

Re: How to use NAM to collect Netflow data

Hi,

Monitoring devices via NetFlow with a NAM module involves 2 steps:

1-Configure the remote device to export NetFlow packets

2-Configure the NAM to accept and monitor the received NetFlow packets.

Step 1 involves configuring the NetFlow version and destination address. Configure it like the following (NAM's default NetFlow port is UDP 3000):

remote(config)#ip flow-export version 5

remote(config)#ip flow-export destination A.B.C.D 3000

Then, configure the following command to export NetFlow data from the interface you desire:

remote(config)#interface FastEthernet1

remote(config-if)#ip route-cache flow

For step 2, you need to do the following in your NAM module:

Go to NAM > Setup > Data Sources > NetFlow > Listening Mode.

Click 'Start'. Once the page refreshes, there should be an entry corresponding to the device exporting the packets.

Select it and click on 'Add'. Type the device's community string in the field and it would be added as a Data Source to the NAM.

Finally, enable the NetFlow monitoring under NAM > Setup > Monitor.

Select the NetFlow and NDE-A.B.C.D entries from the list and make sure to enable ALL checkboxes for both options. Apply any changes if necessary.

Now, NetFlow data will start getting monitored and their results should be shown under NAM > Monitor > *. Make sure to select NDE-A.B.C.D from the list to see its information.

New Member

Re: How to use NAM to collect Netflow data

Hi,Luijimen,

Thanks for respons my question.

We have configured our system just like you told, but we only collect broadcase infomation, since the switch we turnd on netflow is an Access switch it does not has router interface configured on it we only configured a Vlan interface(This Vlan is the client Vlan we set up on this switch.

how can we get layer-2 switch flow info export to NAM?

Cisco Employee

Re: How to use NAM to collect Netflow data

Hi.

In this case, apply the configuration commands on the VLAN interface, along with the other version and destination commands.

Like the following:

DEVICE(config)#ip flow-export version 5

DEVICE(config)#ip flow-export destination A.B.C.D 3000

DEVICE(config)#int vlan10

DEVICE(config-if)#ip route-cache flow

540
Views
0
Helpful
3
Replies
CreatePlease to create content