Feedback
|
Table Of Contents
Configuring IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
Prerequisites for Configuring IPv4 Multicast Statistics Support
Restrictions for Configuring IPv4 Multicast Statistics Support
Information About IPv4 Multicast Statistics Support
Replicated Bytes/Packets Reporting
How to Configure IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
Configuring IPv4 Multicast Statistics Support
Configuration Examples for IPv4 Multicast Statistics Support
Example: Configuring IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
Feature Information for IPv4 Multicast Statistics Support
Configuring IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
First Published: October 10, 2008Last Updated: July 20, 2011This document contains information about and instructions for configuring the Flexible NetFlow—IPv4 Multicast Statistics Support feature. Prior to the introduction of the Flexible NetFlow—IPv4 Multicast Statistics Support feature, Flexible NetFlow could analyze IPv4 multicast traffic, but could not report the number of replicated bytes or the number of replicated packets in multicast flows. The Flexible NetFlow—IPv4 Multicast Statistics Support feature adds the capability of reporting the number of replicated bytes and the number of replicated packets in multicast flows to Flexible NetFlow.
NetFlow is a Cisco IOS technology that provides statistics on packets flowing through a networking device. NetFlow is the standard for acquiring IP operational data from IP networks. NetFlow provides provides data to support 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 facilitates the creation of 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 IPv4 Multicast Statistics Support" section.
Use Cisco Feature Navigator to find information about platform support and Cisco 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 Configuring IPv4 Multicast Statistics Support
•
Restrictions for Configuring IPv4 Multicast Statistics Support
•
Information About IPv4 Multicast Statistics Support
•
How to Configure IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
•
Configuration Examples for IPv4 Multicast Statistics Support
•
Feature Information for IPv4 Multicast Statistics Support
Prerequisites for Configuring IPv4 Multicast Statistics Support
•
You are familiar with the information in the "Cisco IOS Flexible NetFlow Overview" module.
•
You are familiar with the information in the "Customizing Cisco IOS Flexible NetFlow Flow Records and Flow Monitors" module.
•
The networking device is running a Cisco IOS release that supports the Flexible NetFlow—IPv4 Multicast Statistics Support feature. See the "Cisco IOS Flexible NetFlow Features Roadmap" module for a list of Cisco IOS software releases that support the Flexible NetFlow—IPv4 Multicast Statistics Support feature.
•
The networking device is configured for IPv4 unicast routing and IPv4 multicast routing.
•
One of the following is enabled on your networking device and on any interfaces on which you want to enable Flexible NetFlow: Cisco Express Forwarding, distributed Cisco Express Forwarding.
Restrictions for Configuring IPv4 Multicast Statistics Support
IPv4 Traffic
•
When the replication-factor field is used in a flow record, it will only have a nonzero value in the cache for ingress multicast traffic that is forwarded by the router. If the flow record is used with a flow monitor in output (egress) mode and to monitor unicast traffic, the cache data for the replication factor field is set to 0.
IPv6 Traffic
•
Traffic monitoring for multicast statistics is not supported.
Cisco IOS Release 12.2(50)SY
•
Multicast replication factor is not supported.
Information About IPv4 Multicast Statistics Support
•
Replicated Bytes/Packets Reporting
Replicated Bytes/Packets Reporting
The Flexible NetFlow—IPv4 Multicast Statistics Support feature adds the capability of reporting the number of replicated bytes and the number of replicated packets in multicast flows to Flexible NetFlow. You can capture the packet-replication factor for a specific flow and for each outgoing stream.
You can use the The Flexible NetFlow—IPv4 Multicast Statistics Support feature to identify and count multicast packets on the ingress side or the egress side (or both sides) of a networking device. Multicast ingress accounting provides information about the source and how many times the traffic was replicated. Multicast egress accounting monitors the destination of the traffic flow.
How to Configure IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
To configure the Flexible NetFlow—IPv4 Multicast Statistics Support feature, perform the following task:
•
Configuring IPv4 Multicast Statistics Support (required)
Configuring IPv4 Multicast Statistics Support
This task explains the steps that are used to configure multicast statistics support for IPv4 traffic.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
flow record flow-record-name
4.
description description
5.
match routing is-multicast
6.
Add key fields for the record as required using other match commands.
7.
collect counter {bytes | packets} replicated [long]
8.
collect routing multicast replication-factor
9.
Add nonkey fields for the record as required using other collect commands.
10.
exit
11.
flow monitor monitor-name
12.
description description
13.
record record-name
14.
exit
15.
interface type number
16.
ip flow monitor monitor-name [multicast | unicast] {input | output}
17.
Repeat Steps 15 and 16 to activate a flow monitor on any other interfaces in the networking device over which you want to monitor traffic.
18.
end
19.
show flow monitor [[name] monitor-name [cache [format {csv | record | table}]][statistics]]
DETAILED STEPS
Examples
The following output from the show flow monitor command shows four multicast flows and three unicast flows:
Router# show flow monitor FLOW-MONITOR-2 cacheCache type: NormalCache size: 4096Current entries: 8High Watermark: 8Flows added: 4074Flows aged: 4066- Active timeout ( 1800 secs) 46- Inactive timeout ( 15 secs) 4020- Event aged 0- Watermark aged 0- Emergency aged 0IP IS MULTICAST IPV4 DST ADDR pkts rep=============== =============== ==========Yes 224.192.16.1 16642Yes 224.192.65.1 16621No 10.1.4.2 0No 10.1.2.2 0No 10.1.3.2 0Yes 224.0.0.13 0No 255.255.255.255 0Yes 224.0.0.1 0Configuration Examples for IPv4 Multicast Statistics Support
This section provides the following configuration example:
•
Example: Configuring IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
Example: Configuring IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
This example shows how to configure the following:
•
IPv4 multicast destination addresses (indicating that the IPv4 traffic is multicast traffic) as a key field.
•
The destination IPv4 address as a key field.
•
The replicated packet count as a nonkey field.
•
The replication factor as a nonkey field.
•
The flow monitor in order to monitor only multicast traffic.
This sample starts in global configuration mode:
!flow record FLOW-RECORD-2match routing is-multicastmatch ipv4 destination addresscollect counter packets replicatedcollect routing multicast replication-factorexit!flow monitor FLOW-MONITOR-2record FLOW-RECORD-2exit!interface Ethernet 0/0no shutip address 10.1.1.2 255.255.255.0ip flow monitor FLOW-MONITOR-2 multicast input!endWhere to Go Next
If you want to configure 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
Related Documents
Related Topic Document TitleCisco IOS commands
Overview of Flexible NetFlow
Flexible NetFlow Feature Roadmap
Emulating original NetFlow with Flexible NetFlow
"Getting Started with Configuring Cisco IOS Flexible NetFlow"
Configuring flow exporters to export Flexible NetFlow data
"Configuring Data Export for Cisco IOS Flexible NetFlow with Flow Exporters"
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"
Configuration commands for Flexible NetFlow
Standards
MIBs
MIB MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for IPv4 Multicast Statistics Support
Table 1 lists the release history for this feature.
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.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which 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 1 lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Table 1 Feature Information for Flexible NetFlow —IPv4 Multicast Statistics Support
Feature Name Releases Feature InformationFlexible NetFlow
12.2(33)SRC12.2(50)SY 12.4(9)T
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 section:
•
How to Configure IPv4 Multicast Statistics Support for Cisco IOS 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 platform, 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—IPv4 Multicast Statistics Support
12.2(33)SRE12.2(50)SY 12.4(22)T
The Flexible NetFlow—IPv4 Multicast Statistics Support feature adds the capability of reporting the number of replicated bytes and the number of replicated packets in multicast flows to Flexible NetFlow.
Support for this feature was added for Cisco 7200 and 7300 Network Processing Engine (NPE) series routers in Cisco IOS Release 12.2(33)SRE.
The following sections provide information about this feature:
•
Prerequisites for Configuring IPv4 Multicast Statistics Support
•
Restrictions for Configuring IPv4 Multicast Statistics Support
•
Information About IPv4 Multicast Statistics Support
•
How to Configure IPv4 Multicast Statistics Support for Cisco IOS Flexible NetFlow
•
Configuration Examples for IPv4 Multicast Statistics Support
The following commands were introduced or modified: collect counter, collect routing is-multicast, collect routing multicast replication-factor, match routing is-multicast, match routing multicast replication-factor, ip flow monitor, ipv6 flow monitor.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned 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. (1005R)
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-2011 Cisco Systems, Inc. All rights reserved.
Feedback