Configuring NetFlow for Traffic Visibility
NetFlow records provide an aggregate view of the network traffic. When enabled on the branch router or switch, the NetFlow data source becomes available on the Cisco NAM Virtual Services Blade (VSB). NetFlow provides statistics for applications, hosts, and conversations. You can set up custom data sources for some specific interfaces. NetFlow can be used to identify business critical applications hosted in the Data Center that are used in the branch.
This chapter contains the following sections:
•Configuring NetFlow on Cisco IOS Routers
•Configuring NetFlow Data Source on the NAM VSB
•Configuring NetFlow Reports on the NAM VSB
Configuring NetFlow on Cisco IOS Routers
Configure NetFlow traffic on the Branch edge router. You must enable NetFlow on both the WAN and LAN interface to provide visibility into traffic flows entering and leaving the branch.
ip route-cache flow
ip flow-export version 5
ip flow-export destination <NAM-Ip-Address> 3000
Note The UDP port number must be set to 3000.
Also make sure the SNMP Read Only community string is configured on the device.
snmp-server community <RO-string> RO
Configuring NetFlow Data Source on the NAM VSB
Use the NAM Traffic Analyzer GUI to enable additional NetFlow monitoring devices.
Step 1 Log in to the NAM GUI and choose Setup > Data Sources.
Step 2 In the Content menu, click NetFlow -- Listening Mode.
The NetFlow Listening Mode window displays as shown in Figure 4-1.
Figure 4-1 NetFlow Listening Mode Window
Step 3 Click Start.
This enables the Cisco NAM VSB to listen to any NetFlow packets being sent to it.
Step 4 As you see the IP addresses begin to list, select and add the device or devices, and provide the SNMP read community string.
Step 5 Test for connectivity and SNMP community string from Setup > Data Sources > NetFlow -- Devices, then click Test.
Step 6 Add the NetFlow data sources by selecting Setup > Data Sources > NetFlow -- Custom Data Sources.then choose a NetFlow device, provide a name, and click Next.
Step 7 Add the interfaces to monitor in this data source as shown in Figure 4-2.
Figure 4-2 NetFlow Data Sources - Select Interfaces
Step 8 Click Next and review the settings, then click Finish.
Step 9 Click Setup > Monitor > Core Monitoring.
Step 10 Choose the desired data sources with a prefix NDE as NetFlow data sources, and enable collections by clicking Apply.
Figure 4-3 Core Monitoring Functions
Configuring NetFlow Reports on the NAM VSB
To gain visibility into the top applications and those individuals creating a significant amount of IP phone traffic, you can create Top Applications and Top Hosts reports. Reports like these enable you to view trending of top applications and most active hosts for a particular branch over a period of time.
Step 1 Log in to the NAM VSB GUI, and click Reports > Basic Reports.
The Basic Historical Reports window displays and lists any currently configured basic reports.
Step 2 Click Create to create a new basic report.
Step 3 Choose Applications from the list of report types, then click Next.
Step 4 Click to choose Top Applications as shown in Figure 4-4, then choose the NetFlow Data Source and click Finish.
Figure 4-4 Setup Report Parameters
Step 5 Click Create again to create another new basic report.
Step 6 Choose Hosts from the list of report types, then click Next.
Step 7 Click to choose Top N Hosts as shown in Figure 4-5, then choose the NetFlow Data Source and click Finish.
Figure 4-5 Setup Host Report Parameters