Table Of Contents
Getting Started with Configuring Cisco IOS Flexible NetFlow
Prerequisites for Getting Started with Configuring Flexible NetFlow
Information About Getting Started with Configuring Flexible NetFlow
Benefit of Emulating Original NetFlow with Flexible NetFlow
Flexible NetFlow "NetFlow Original" and "NetFlow IPv4 Original Input" Predefined Records
Flexible NetFlow "NetFlow IPv4 Original Output" Predefined Record
Flexible NetFlow "NetFlow IPv6 Original Input" Predefined Record
Flexible NetFlow "NetFlow IPv6 Original Output" Predefined Record
Flexible NetFlow—MPLS Egress NetFlow
How to Get Started with Configuring Flexible NetFlow
Applying an IPv4 Flow Monitor to an Interface
Applying an IPv6 Flow Monitor to an Interface
Verifying That Flexible NetFlow Is Enabled
Viewing the Flow Monitor Cache
Configuring a Flow Exporter for the Flow Monitor
Configuration Examples for Emulating Original NetFlow Features with Flexible NetFlow
Configuring Flexible NetFlow Egress Accounting for IPV4 and IPv6 Traffic: Example
Configuring Flexible NetFlow Subinterface Support: Example
Configuring Flexible NetFlow Multiple Export Destinations: Example
Feature Information for Flexible NetFlow
Getting Started with Configuring Cisco IOS Flexible NetFlow
First Published: June 19, 2006Last Updated: November 20, 2009This document contains information about and instructions for configuring Flexible NetFlow to emulate the data capture, data analysis, and data export features of original NetFlow. The Flexible NetFlow equivalents of some of the other features that have been added to original NetFlow, such as NetFlow Subinterface Support, and Multiple Export Destinations, are covered in this document. The purpose of this document is to help you get started using Flexible NetFlow as quickly as possible.
This document explains how to configure certain Flexible NetFlow features but does not explain them in detail. The documents listed in the "Related Documents" section contain more detailed information on Flexible NetFlow features.
NetFlow is a Cisco IOS technology that provides statistics on packets flowing through the router. NetFlow is the standard for acquiring IP operational data from IP networks. NetFlow provides network and security monitoring, network planning, traffic analysis, and IP accounting.
Flexible NetFlow improves on original NetFlow by adding the capability to customize the traffic analysis parameters for your specific requirements. Flexible NetFlow makes it easier to create more complex configurations for traffic analysis and data export through the use of reusable configuration components.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for Flexible NetFlow" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS, Catalyst OS, and Cisco IOS XE software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for Getting Started with Configuring Flexible NetFlow
•
Information About Getting Started with Configuring Flexible NetFlow
•
How to Get Started with Configuring Flexible NetFlow
•
Configuration Examples for Emulating Original NetFlow Features with Flexible NetFlow
•
Feature Information for Flexible NetFlow
Prerequisites for Getting Started with Configuring Flexible NetFlow
The following prerequisites must be met before you can configure Flexible NetFlow:
•
You are familiar with the information in the "Cisco IOS Flexible NetFlow Overview" module.
•
The networking device must be running a Cisco IOS release that supports Cisco IOS Flexible NetFlow. See the "Cisco IOS Flexible NetFlow Features Roadmap" module for a list of Cisco IOS software releases that support Flexible NetFlow.
IPv4 Traffic
•
The networking device must be configured for IPv4 routing.
•
One of the following must be enabled on your router and on any interfaces on which you want to enable Flexible NetFlow: Cisco Express Forwarding (CEF) or distributed CEF (dCEF).
IPv6 Traffic
•
The networking device must be configured for IPv6 routing.
•
One of the following must be enabled on your router and on any interfaces on which you want to enable Flexible NetFlow: Cisco Express Forwarding IPv6 (CEF IPv6) or distributed CEF IPv6 (dCEF IPv6).
Information About Getting Started with Configuring Flexible NetFlow
Before you configure Flexible NetFlow to emulate original NetFlow, you should understand the following concepts:
•
Benefit of Emulating Original NetFlow with Flexible NetFlow
•
Flexible NetFlow "NetFlow Original" and "NetFlow IPv4 Original Input" Predefined Records
•
Flexible NetFlow "NetFlow IPv4 Original Output" Predefined Record
•
Flexible NetFlow "NetFlow IPv6 Original Input" Predefined Record
•
Flexible NetFlow "NetFlow IPv6 Original Output" Predefined Record
•
Flexible NetFlow—MPLS Egress NetFlow
Benefit of Emulating Original NetFlow with Flexible NetFlow
Emulating original NetFlow with Flexible NetFlow enables to you to deploy Flexible NetFlow quickly because you can use a predefined record instead of designing and configuring a custom user-defined record. You need only configure a flow monitor and apply it to an interface for Flexible NetFlow to start working like original NetFlow. You can add an optional exporter if you want to analyze the data that you collect with an application such as NetFlow collector.
If you are familiar with original NetFlow, you already understand the format and content of the data that you collect and export with Flexible NetFlow when you emulate original NetFlow. You will be able to use the same techniques for analyzing the data.
Flexible NetFlow "NetFlow Original" and "NetFlow IPv4 Original Input" Predefined Records
The Flexible NetFlow "NetFlow original" and "NetFlow IPv4 original input" predefined records can be used interchangeably because they have the same key and non-key fields. The key and non-key fields and the counters for the Flexible NetFlow "NetFlow original" and "NetFlow IPv4 original input" predefined records are shown in Table 1.
The configuration in the "How to Get Started with Configuring Flexible NetFlow" section uses the predefined Flexible NetFlow "NetFlow original" record.
Flexible NetFlow "NetFlow IPv4 Original Output" Predefined Record
The Flexible NetFlow "NetFlow IPv4 original output" predefined record is used to emulate the original NetFlow Egress NetFlow Accounting feature that was released in Cisco IOS Release 12.3(11)T. The key and non-key fields and the counters for the Flexible NetFlow "NetFlow IPv4 original output" predefined record are shown in Table 2.
The configuration in the "Configuring Flexible NetFlow Egress Accounting for IPV4 and IPv6 Traffic: Example" section uses the predefined Flexible NetFlow "NetFlow original output" record.
Flexible NetFlow "NetFlow IPv6 Original Input" Predefined Record
The key and non-key fields and the counters for the Flexible NetFlow "NetFlow IPv6 original input" predefined record are shown in Table 3.
Flexible NetFlow "NetFlow IPv6 Original Output" Predefined Record
The key and non-key fields and the counters for the Flexible NetFlow "NetFlow IPv6 original output" predefined record are shown in Table 4.
Flexible NetFlow—MPLS Egress NetFlow
The Flexible NetFlow—MPLS Egress NetFlow feature allows you to capture IP flow information for packets that arrive on a router as MPLS packets and are transmitted as IP packets. This feature allows you to capture the MPLS Virtual Private Network (VPN) IP flows that are traveling through the service provider backbone from one site of a VPN to another site of the same VPN. The Flexible NetFlow— MPLS Egress NetFlow feature is enabled by applying a flow monitor in output (egress) mode on the provider edge (PE) to customer edge (CE) interface of the provider's network.
Figure 1 shows a sample MPLS VPN network topology that includes four VPN 1 sites and two VPN 2 sites. If the Flexible NetFlow—MPLS Egress NetFlow is enabled on an outgoing PE interface by applying a flow monitor in output mode, IP flow information for packets that arrive at the PE as MPLS packets (from an MPLS VPN) and that are transmitted as IP packets to the PE router is captured. For example,
•
To capture the flow of traffic going to site 2 of VPN 1 from any remote VPN 1 sites, you enable a flow monitor in output mode on link PE2-CE5 of provider edge router PE2.
•
To capture the flow of traffic going to site 1 of VPN 2 from any remote VPN 2 site, you enable a flow monitor in output mode on link PE3-CE4 of the provider edge router PE3.
The flow data is stored in the Flexible NetFlow cache. You can use the show flow monitor monitor-name cache command view the flow data in the cache.
Figure 1 Sample MPLS VPN Network Topology with Flexible NetFlow—MPLS Egress NetFlow feature
If you configure a Flexible NetFlow exporter for the flow monitors you use for the Flexible NetFlow— MPLS Egress NetFlow feature, the PE routers will export the captured flows to the configured collector devices in the provider network. Applications such as the Network Data Analyzer or the VPN Solution Center (VPN-SC) can gather information from the captured flows and compute and display site-to-site VPN traffic statistics.
How to Get Started with Configuring Flexible NetFlow
The tasks in this section explain how to configure and verify the emulation of original (ingress) NetFlow data capture with Flexible NetFlow for traffic that is received by the router and how to configure and verify the emulation of original NetFlow data export with Flexible NetFlow.
Note
Flexible NetFlow emulation of original NetFlow requires the configuration of a flow monitor and the application of the flow monitor to at least one interface that is receiving the traffic that you want to analyze.
Note
Only the keywords and arguments required for the Flexible NetFlow commands used in these tasks are explained in these tasks. For information on the other keywords and arguments available for these Flexible NetFlow commands, refer to the Cisco IOS Flexible NetFlow Command Reference.
To configure and enable Flexible NetFlow using a predefined record, perform the following tasks:
•
Applying an IPv4 Flow Monitor to an Interface
•
Applying an IPv6 Flow Monitor to an Interface
•
Verifying the Flow Monitor (optional)
•
Verifying That Flexible NetFlow Is Enabled (optional)
•
Viewing the Flow Monitor Cache
•
Configuring a Flow Exporter for the Flow Monitor
•
Verifying the Flow Exporter (optional)
Configuring a Flow Monitor for IPv4 Traffic Using the Flexible NetFlow "NetFlow IPv4 Original Input" Predefined Record
To configure a flow monitor for IPv4 traffic using the Flexible NetFlow "NetFlow IPv4 original input" predefined record for the flow monitor, perform the following required task.
Flow Monitors
Each flow monitor has a separate cache assigned to it. Each flow monitor requires a record to define the contents and layout of its cache entries. The record format can be one of the predefined record formats, or an advanced user may create his or her own record format using the collect and match commands in flow record configuration mode.
Restrictions
You must remove a flow monitor from all of the interfaces to which you have applied it before you can modify the record format of the flow monitor.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
flow monitor monitor-name
4.
description text-string
5.
record netflow ipv4 original-input
6.
end
DETAILED STEPS
Configuring a Flow Monitor for IPv6 Traffic Using the Flexible NetFlow "NetFlow IPv6 Original Input" Predefined Record
To configure a flow monitor for IPv6 traffic using the Flexible NetFlow "NetFlow IPv6 original input" predefined record for the flow monitor, perform the following required task.
Flow Monitors
Each flow monitor has a separate cache assigned to it. Each flow monitor requires a record to define the contents and layout of its cache entries. The record format can be one of the predefined record formats, or an advanced user may create his or her own record format using the collect and match commands in flow record configuration mode.
Restrictions
You must remove a flow monitor from all of the interfaces to which you have applied it before you can modify the record format of the flow monitor.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
flow monitor monitor-name
4.
description string
5.
record netflow ipv6 original-input
6.
end
DETAILED STEPS
Applying an IPv4 Flow Monitor to an Interface
Before it can be activated an IPv4 flow monitor must be applied to at least one interface. To activate an IPv4 flow monitor, perform the following required task.
Restrictions
When you specify the "NetFlow original" or the "NetFlow IPv4 original input" predefined record for the flow monitor to emulate original NetFlow, the flow monitor can be used only for analyzing input (ingress) traffic.
When you specify the "NetFlow IPv4 original output" predefined record for the flow monitor to emulate the Egress NetFlow Accounting feature, the flow monitor can be used only for analyzing output (egress) traffic.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ip flow monitor monitor-name input
5.
end
DETAILED STEPS
Applying an IPv6 Flow Monitor to an Interface
before it can be activated an IPv6 flow monitor must be applied to at least one interface. To activate an IPv6 flow monitor, perform the following required task.
Restrictions
When you specify the "NetFlow IPv6 original input" predefined record for the flow monitor to emulate original NetFlow, the flow monitor can be used only for analyzing input (ingress) traffic.
When you specify the "NetFlow IPv6 original output" predefined record for the flow monitor to emulate the Egress NetFlow Accounting feature, the flow monitor can be used only for analyzing output (egress) traffic.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ipv6 flow monitor monitor-name input
5.
end
DETAILED STEPS
Verifying the Flow Monitor
To view the current status of a flow monitor and verify the configuration commands that you entered, perform the following optional task.
Prerequisites
The interface to which you applied the input flow monitor must be receiving traffic that meets the criteria defined by the NetFlow original record before you can view the flows in the flow monitor cache.
SUMMARY STEPS
1.
enable
2.
show flow monitor
3.
show running-config flow monitor
DETAILED STEPS
Step 1
enable
The enable command enters privileged EXEC mode (enter the password if prompted).
Router> enableRouter#Step 2
show flow monitor
The show flow monitor command shows the current status of the flow monitor that you specify.
Router# show flow monitorFlow Monitor FLOW-MONITOR-1:Description: Used for basic IPv4 traffic analysisFlow Record: netflow ipv4 original-inputCache:Type: normalStatus: allocatedSize: 4096 entries / 311316 bytesInactive Timeout: 15 secsActive Timeout: 1800 secsUpdate Timeout: 1800 secsFlow Monitor FLOW-MONITOR-2:Description: Used for basic IPv6 traffic analysisFlow Record: netflow ipv6 original-inputCache:Type: normalStatus: allocatedSize: 4096 entries / 507936 bytesInactive Timeout: 15 secsActive Timeout: 1800 secsUpdate Timeout: 1800 secsStep 3
show running-config flow monitor
The show running-config flow monitor command shows the configuration commands of the flow monitor that you specify.
Router# show running-config flow monitorCurrent configuration:!flow monitor FLOW-MONITOR-1description Used for basic IPv4 traffic analysisrecord netflow ipv4 original-input!!flow monitor FLOW-MONITOR-2description Used for basic IPv6 traffic analysisrecord netflow ipv6 original-input!
Verifying That Flexible NetFlow Is Enabled
To verify that Flexible NetFlow is enabled on an interface, perform the following optional task.
SUMMARY STEPS
1.
enable
2.
show flow interface type number
DETAILED STEPS
Step 1
enable
The enable command enters privileged EXEC mode (enter the password if prompted).
Router> enableRouter#Step 2
show flow interface type number
The show flow interface command verifies that Flexible NetFlow is enabled on an interface.
Router# show flow interface ethernet 0/0Interface Ethernet0/0FNF: monitor: FLOW-MONITOR-1direction: Inputtraffic(ip): onFNF: monitor: FLOW-MONITOR-2direction: Inputtraffic(ipv6): on
Viewing the Flow Monitor Cache
To display the status, statistics and the flow data in the cache for a flow monitor, perform the following optional task.
Prerequisites
The interface to which you applied the input flow monitor must be receiving traffic that meets the criteria defined by the NetFlow original record before you can view the flow data in the flow monitor cache.
SUMMARY STEPS
1.
enable
2.
show flow monitor name monitor-name cache format record
DETAILED STEPS
Step 1
enable
The enable command enters privileged EXEC mode (enter the password if prompted).
Router> enableRouter#Step 2
show flow monitor name monitor-name cache format record
The show flow monitor name monitor-name cache format record command string displays the status, statistics, and the flow data in the cache for a flow monitor.
Router# show flow monitor name FLOW-MONITOR-1 cache format recordCache type: NormalCache size: 4096Current entries: 8High Watermark: 8Flows added: 24Flows aged: 16- Active timeout ( 1800 secs) 0- Inactive timeout ( 15 secs) 16- Event aged 0- Watermark aged 0- Emergency aged 0IPV4 SOURCE ADDRESS: 10.251.10.1IPV4 DESTINATION ADDRESS: 172.16.10.2TRNS SOURCE PORT: 0TRNS DESTINATION PORT: 2048INTERFACE INPUT: Et0/0FLOW SAMPLER ID: 0IP TOS: 0x00IP PROTOCOL: 1ip source as: 0ip destination as: 0ipv4 next hop address: 172.16.7.2ipv4 source mask: /0ipv4 destination mask: /24tcp flags: 0x00interface output: Et1/0counter bytes: 733500counter packets: 489timestamp first: 720892timestamp last: 975032...IPV4 SOURCE ADDRESS: 172.16.6.1IPV4 DESTINATION ADDRESS: 224.0.0.9TRNS SOURCE PORT: 520TRNS DESTINATION PORT: 520INTERFACE INPUT: Et0/0FLOW SAMPLER ID: 0IP TOS: 0xC0IP PROTOCOL: 17ip source as: 0ip destination as: 0ipv4 next hop address: 0.0.0.0ipv4 source mask: /24ipv4 destination mask: /0tcp flags: 0x00interface output: Nullcounter bytes: 52counter packets: 1timestamp first: 973804timestamp last: 973804Router# show flow monitor name FLOW-MONITOR-2 cache format recordCache type: NormalCache size: 4096Current entries: 6High Watermark: 8Flows added: 1048Flows aged: 1042- Active timeout ( 1800 secs) 11- Inactive timeout ( 15 secs) 1031- Event aged 0- Watermark aged 0- Emergency aged 0IPV6 FLOW LABEL: 0IPV6 EXTENSION MAP: 0x00000040IPV6 SOURCE ADDRESS: 2001:DB8:1:ABCD::1IPV6 DESTINATION ADDRESS: 2001:DB8:4:ABCD::2TRNS SOURCE PORT: 3000TRNS DESTINATION PORT: 55INTERFACE INPUT: Et0/0FLOW DIRECTION: InputFLOW SAMPLER ID: 0IP PROTOCOL: 17IP TOS: 0x00ip source as: 0ip destination as: 0ipv6 next hop address: ::ipv6 source mask: /48ipv6 destination mask: /0tcp flags: 0x00interface output: Nullcounter bytes: 521192counter packets: 9307timestamp first: 9899684timestamp last: 11660744...IPV6 FLOW LABEL: 0IPV6 EXTENSION MAP: 0x00000000IPV6 SOURCE ADDRESS: FE80::A8AA:BBFF:FEBB:CC03IPV6 DESTINATION ADDRESS: FF02::9TRNS SOURCE PORT: 521TRNS DESTINATION PORT: 521INTERFACE INPUT: Et0/0FLOW DIRECTION: InputFLOW SAMPLER ID: 0IP PROTOCOL: 17IP TOS: 0xE0ip source as: 0ip destination as: 0ipv6 next hop address: ::ipv6 source mask: /10ipv6 destination mask: /0tcp flags: 0x00interface output: Nullcounter bytes: 92counter packets: 1timestamp first: 11653832timestamp last: 11653832
Configuring a Flow Exporter for the Flow Monitor
To export the data that is collected by Flexible NetFlow to a remote system for further analysis and storage, perform the following optional task.
Flow Exporters
Flow exporters are used to send the data that you collect with Flexible NetFlow to a remote system such as a NetFlow Collection Engine. Exporters use UDP as the transport protocol and use the Version 9 export format.
Restrictions
Each flow exporter supports only one destination. If you want to export the data to multiple destinations, you must configure multiple flow exporters and assign them to the flow monitor.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
flow exporter exporter-name
4.
description string
5.
destination {hostname | ip-address} [vrf vrf-name]
6.
transport udp udp-port
7.
exit
8.
flow monitor monitor-name
9.
exporter exporter-name
10.
end
DETAILED STEPS
Verifying the Flow Exporter
To view the current status of a flow exporter and verify the configuration commands that you entered, perform the following optional task.
SUMMARY STEPS
1.
enable
2.
show flow exporter
3.
show running-config flow exporter exporter-name
DETAILED STEPS
Step 1
enable
The enable command enters privileged EXEC mode (enter the password if prompted).
Router> enableRouter#Step 2
show flow exporter exporter-name
The show flow exporter command shows the current status of the flow exporter that you specify.
Router# show flow exporter EXPORTER-1Flow Exporter EXPORTER-1:Description: Exports to Chicago datacenterTransport Configuration:Destination IP address: 172.16.10.2Source IP address: 172.16.7.1Transport Protocol: UDPDestination Port: 65Source Port: 56041DSCP: 0x0TTL: 255Step 3
show running-config flow exporter
The show running-config flow exporter command shows the configuration commands of the flow exporter that you specify.
Router# show running-config flow exporter EXPORTER-1Building configuration...!flow exporter EXPORTER-1description Exports to Chicago datacenterdestination 172.16.10.2transport udp 65!
Configuration Examples for Emulating Original NetFlow Features with Flexible NetFlow
The following examples show you how to configure Flexible NetFlow to emulate three features that are available in original NetFlow:
•
Configuring Flexible NetFlow Egress Accounting for IPV4 and IPv6 Traffic: Example
•
Configuring Flexible NetFlow Subinterface Support: Example
•
Configuring Flexible NetFlow Multiple Export Destinations: Example
Configuring Flexible NetFlow Egress Accounting for IPV4 and IPv6 Traffic: Example
The following example shows how to configure Flexible NetFlow Egress Accounting for IPv4 and IPv6 traffic.
This sample starts in global configuration mode:
!flow monitor FLOW-MONITOR-1record netflow ipv4 original-outputexit!!flow monitor FLOW-MONITOR-2record netflow ipv6 original-outputexit!ip cefipv6 cef!interface Ethernet0/0ip address 172.16.6.2 255.255.255.0ipv6 address 2001:DB8:2:ABCD::2/48ip flow monitor FLOW-MONITOR-1 outputipv6 flow monitor FLOW-MONITOR-2 output!Configuring Flexible NetFlow Subinterface Support: Example
The following example shows how to configure Flexible NetFlow Subinterface Support for IPv4 traffic.
This sample starts in global configuration mode:
!flow monitor FLOW-MONITOR-1record netflow ipv4 original-inputexit!ip cef!interface Ethernet0/0.1ip address 172.16.6.2 255.255.255.0ip flow monitor FLOW-MONITOR-1 input!The following example shows how to configure Flexible NetFlow to Emulate NetFlow Subinterface Support for IPv6 traffic.
This sample starts in global configuration mode:
!flow monitor FLOW-MONITOR-2record netflow ipv6 original-inputexit!ip cefipv6 cef!interface Ethernet0/0.1ipv6 address 2001:DB8:2:ABCD::2/48ipv6 flow monitor FLOW-MONITOR-2 input!
Configuring Flexible NetFlow Multiple Export Destinations: Example
The following example shows how to configure Flexible NetFlow Multiple Export Destinations.
This sample starts in global configuration mode:
!flow exporter EXPORTER-1destination 172.16.10.2transport udp 90exit!flow exporter EXPORTER-2destination 172.16.10.3transport udp 90exit!flow monitor FLOW-MONITOR-1record netflow-originalexporter EXPORTER-2exporter EXPORTER-1exit!ip cef!interface Ethernet0/0ip address 172.16.6.2 255.255.255.0ip flow monitor FLOW-MONITOR-1 input!Where to Go Next
For information on advanced Flexible NetFlow configurations for specific purposes such as quality of service (QoS) and bandwidth monitoring, application and user flow monitoring and profiling, and security analysis, refer to the "Customizing Cisco IOS Flexible NetFlow Flow Records and Flow Monitors" module.
If you want to configure additional options for data export for Flexible NetFlow, refer to the "Configuring Data Export for Cisco IOS Flexible NetFlow with Flow Exporters" module.
If you want to configure flow sampling to reduce the CPU overhead of analyzing traffic, refer to the "Using Cisco IOS Flexible NetFlow Flow Sampling to Reduce the CPU Overhead of Analyzing Traffic" module.
If you want to configure any of the predefined records for Flexible NetFlow refer, to the "Configuring Cisco IOS Flexible NetFlow with Predefined Records" module.
Additional References
The following sections provide references related to Flexible NetFlow.
Related Documents
Related Topic Document TitleCisco IOS commands
Overview of Flexible NetFlow
Flexible NetFlow Feature Roadmap
Configuring flow exporters to export Flexible NetFlow data.
"Configuring Data Export for Cisco IOS Flexible NetFlow with Flow Exporters"
Customizing Flexible NetFlow
"Customizing Cisco IOS Flexible NetFlow Flow Records and Flow Monitors"
Configuring flow sampling to reduce the overhead of monitoring traffic with Flexible NetFlow
"Using Cisco IOS Flexible NetFlow Flow Sampling to Reduce the CPU Overhead of Analyzing Traffic"
Configuring Flexible NetFlow using predefined records
"Configuring Cisco IOS Flexible NetFlow with Predefined Records"
Using Flexible NetFlow Top N Talkers to Analyze Network Traffic
"Using Cisco IOS Flexible NetFlow Top N Talkers to Analyze Network Traffic"
Configuring IPv4 Multicast Statistics Support for Flexible NetFlow
"Configuring IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow"
Configuration commands for Flexible NetFlow
Standards
MIBs
MIB MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for Flexible NetFlow
Table 5 lists the features in this module and provides links to specific configuration information. Only features that were introduced or modified in Cisco IOS Release 12.2(1) or Cisco IOS Releases 12.2(1) or 12.0(3)S or a later release appear in the table.
For information on a feature in this technology that is not documented here, see the "Cisco IOS Flexible NetFlow Features Roadmap".
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS, Catalyst OS, and Cisco IOS XE software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Note
Table 5 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Table 5 Feature Information for Flexible NetFlow
Feature Name Releases Feature Configuration InformationFlexible NetFlow
12.4(9)T
12.2(33)SRC
Flexible NetFlow is introduced.
Support for this feature was added for Cisco 7200 series routers in Cisco IOS Release 12.2(33)SRC.
Information about the Flexible NetFlow feature is included in the following sections:
•
Prerequisites for Getting Started with Configuring Flexible NetFlow
•
Information About Getting Started with Configuring Flexible NetFlow
•
How to Get Started with Configuring Flexible NetFlow
•
Configuration Examples for Emulating Original NetFlow Features with Flexible NetFlow
The following commands were introduced or modified: cache (Flexible NetFlow), clear flow exporter, clear flow monitor, clear sampler, collect counter, collect flow, collect interface, collect ipv4, collect ipv4 destination, collect ipv4 fragmentation, collect ipv4 section, collect ipv4 source, collect ipv4 total-length, collect ipv4 ttl, collect routing, collect timestamp sys-uptime, collect transport, collect transport icmp ipv4, collect transport tcp, collect transport udp, debug flow exporter, debug flow monitor, debug flow record, debug sampler, description (Flexible NetFlow), destination, dscp (Flexible NetFlow), exporter, flow exporter, flow monitor, flow record, ip flow monitor, match flow, match interface (Flexible NetFlow), match ipv4, match ipv4 destination, match ipv4 fragmentation, match ipv4 section, match ipv4 source, match ipv4 total-length, match ipv4 ttl, match routing, match transport, match transport icmp ipv4, match transport tcp, match transport udp, mode (Flexible NetFlow), option (Flexible NetFlow), record, sampler, show flow exporter, show flow interface, show flow monitor, show flow record, show sampler, source (Flexible NetFlow), statistics packet, template data timeout, transport (Flexible NetFlow).
Flexible NetFlow—MPLS Egress NetFlow
12.4(22)T 12.2(33)SRE
The Flexible NetFlow—MPLS Egress NetFlow feature allows you to capture IP flow information for packets undergoing MPLS label disposition; that is, packets that arrive on a router as MPLS packets and are transmitted as IP packets.
Support for this feature was added for Cisco 7200 and 7300 NPE series routers in Cisco IOS Release 12.2(33)SRE.
The following sections provide information about this feature:
•
Flexible NetFlow—MPLS Egress NetFlow
No commands were introduced or modified by this feature.
Flexible NetFlow—IPv6 Unicast Flows
12.4(20)T 12.2(33)SRE
Enables Flexible NetFlow to monitor IPv6 traffic.
Support for this feature was added for Cisco 7200 and 7300 NPE series routers in Cisco IOS Release 12.2(33)SRE.
Information about the Flexible NetFlow—IPv6 Unicast Flows feature is included in the following sections:
•
Applying an IPv6 Flow Monitor to an Interface
•
Configuring Flexible NetFlow Egress Accounting for IPV4 and IPv6 Traffic: Example
The following commands were introduced or modified: collect routing, debug flow record, match routing, record, show flow monitor, show flow record, collect ipv6, collect ipv6 destination, collect ipv6 extension map, collect ipv6 fragmentation, collect ipv6 hop-limit, collect ipv6 length, collect ipv6 section, collect ipv6 source, collect transport icmp ipv6, ipv6 flow monitor, match ipv6, match ipv6 destination, match ipv6 extension map, match ipv6 fragmentation, match ipv6 hop-limit, match ipv6 length, match ipv6 section, match ipv6 source, match transport icmp ipv6.
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0910R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2008-2009 Cisco Systems, Inc. All rights reserved.


