Flexible Netflow Concepts and Configuration

Date: Jul 22, 2011

Return to the article

In modern networks, there is a need to compile and maintain a good set of traffic records for a number of different purposes. These purposes include the ability to monitor network traffic for network planning, security and analysis as well as track traffic usage for billing purposes. To provide this ability, Cisco developed the Netflow feature; the Netflow feature was then extended to provide further configuration flexibility and the Flexible Netflow feature was created. This article takes a look at the typical uses for the Flexible Netflow feature, how it works and how it can be configured into a complete solution.

In modern networks, there is a need to compile and maintain a good set of traffic records for a number of different purposes. These purposes include the ability to monitor network traffic for network planning, security and analysis as well as track traffic usage for billing purposes. To provide this ability, Cisco developed the Netflow feature; the Netflow feature was then extended to provide further configuration flexibility and the Flexible Netflow feature was created. This article takes a look at the typical uses for the Flexible Netflow feature, how it works, and how it can be configured into a complete solution.

Flexible Netflow Concepts

There are a number of different uses for a traffic statistics feature when dealing with modern networks; the Flexible Netflow feature can provide a solution for a number of different tasks, including those shown in Table 1 below:

Table 1—Typical Netflow Uses

Network Monitoring

Netflow can provide extensive network monitoring capabilities that can be used by network operators to visualize traffic patterns across the network.

Application Monitoring and Profiling

Netflow can be used to view time-based application network usage information that can be used to help understand usage patterns. This analysis can then be used to plan for new application resource deployment and/or to further refine application resources.

User Monitoring and Profiling

Netflow can be used to view user (or customer) network and application resource usage patterns. This analysis can then be used to plan for new network and application resource deployment and/or to further refine network and application resources.

Network Planning

Netflow can be used to track the usage (longer term) of the various links across a network; this information can be used to better allocate future network expansion resources to those parts of the network with the most usage.

Security Analysis

Netflow can be used to identify and classify Denial of Service (DoS), virus and worm attacks in real time.

Billing and Accounting

Netflow can be used to provide a very granular picture of the resources being used on a network. This information can then be used to produce very detailed resource usage accounting across the various network components.

Data Warehousing and Mining

Netflow can be used to warehouse data for later retrieval and analysis; there are a number of different uses for this ability including historical analysis.

Netflow Components

The basic concept with Flexible Netflow (and the Original Netflow) is to categorize and track different traffic flows.

Records

These flows are defined by a number of different pieces of traffic information; the information used when using Flexible Netflow can be defined by user records or within standard records. With the original Netflow, a flow was defined by seven different pieces of information that is used to categorize traffic; this information includes the following fields:

Traffic with the same values for these seven fields was defined as a flow and individually tracked. Flexible Netflow provides the ability to either use this original flow definition (“Record”) or to create a new, more specific flow definition. When creating a user-defined flow definition, the fields that are going to be tracked are selected and then defined as either a key field or as a nonkey field; these key fields are then used by Flexible Netflow to define traffic flows; the fields that are defined as nonkey are captured with the flow but are not used to define specific flows.

Flow Monitor

The Netflow flow monitor component is used to provide the actual traffic monitoring on a configured interface. When a flow monitor is applied to an interface, a flow monitor cache is created that is used to collect the traffic based on the key and nonkey fields in the configured record. There are three different modes of flow monitor cache that can be used with each flow monitor:

Flow Exporter

A flow exporter is used to transfer the contents of the Netflow cache from the device to a remote system. The Netflow Data Export Format Version 9 is used with Flexible Netflow (as opposed to Version 5) in order to provide additional flexibility. Multiple flow exporters can be configured and assigned to a variety of different flow monitors if there is a need to export to multiple locations.

Flow Sampler

A flow sampler is used when there is a high volume of traffic to analyze that could potentially affect the performance of the monitored device. In this situation, a flow sampler can be used to limit the number of packets that will be analyzed by the flow monitor. For example, 1 out of every 2 packets could be captured and analyzed.

Flexible Netflow Configuration

The exact configuration that is required to setup Flexible Netflow depends on whether a flow exporter is going to be used and whether a flow sampler is required to be configured. The steps required to setup a basic Flexible Netflow exporter configuration are shown in Table 2 below:

Table 2—Flow Exporter Configuration

Step 1

Enter global configuration mode.

router#configure terminal

Step 2

Create and configure a flow exporter.

router(config)#flow exporter exporter-name

Step 3

Configure the exporter destination.

router(config-flow-exporter)#destination {hostname | ip-address}

Step 4

Configure the UDP port used by the flow exporter (by default, UDP port 9995 is used).

router(config-flow-exporter)#transport udp udp-port

Step 5

Enter flow monitor configuration mode.

router(config-flow-exporter)#flow monitor flow-monitor-name

Step 6

Apply the flow exporter.

router(config-flow-monitor)#exporter exporter-name

Step 7

Exit configuration mode.

router(config-flow-monitor)#end

The steps required to setup a basic Flexible Netflow sampler configuration are shown in Table 3 below (for application, see the flow monitor configuration):

Table 3—Flow Sampler Configuration

Step 1

Enter global configuration mode.

router#configure terminal

Step 2

Create and configure a flow sampler.

router(config)#sampler sampler-name

Step 3

Configure the sampler mode.

router(config-sampler)#mode {deterministic | random} 1 out-of window-size

Step 4

Exit configuration mode.

router(config-sampler)#end

The steps required to setup a basic Flexible Netflow monitor configuration are shown in Table 4 below:

Table 4—Flow Monitor Configuration

Step 1

Enter global configuration mode.

router#configure terminal

Step 2

Create and configure a flow monitor.

router(config)#flow monitor monitor-name

Step 3

Define the record format that will be used by the flow monitor.

router(config-flow-monitor)#record {record-name | netflow-original | netflow {ipv4 | ipv6}}

Step 4

Enter interface configuration mode.

router(config-flow-monitor)#interface interface-type interface-number

Step 5

Apply the flow monitor (during application of a flow monitor, the flow sampler is also applied).

IPv4 Flow Monitor:

router(config-if)#ip flow monitor monitor-name [[sampler] sampler-name] input

or

IPv6 Flow Monitor:

router(config-if)#ipv6 flow monitor monitor-name [[sampler] sampler-name] input

Step 6

Exit configuration mode.

router(config-if)#end

Summary

The Flexible Netflow feature provides a solution for a number of different needs within an organization. With little investment in time and resources, the Flexible Netflow feature can save an organization money, provide better accounting of organizational traffic, and provide a solution that can help solve a number of different problems within an organizational network. Hopefully, the information in this article can be used to become familiar with the Flexible Netflow feature as well as help with initial feature configuration.

800 East 96th Street, Indianapolis, Indiana 46240

sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |