- Flexible Netflow Overview
- Flexible NetFlow�IPv4 Unicast Flows
- Flexible NetFlow�IPv6 Unicast Flows
- Flexible NetFlow�MPLS Egress NetFlow
- Flexible NetFlow v9 Export Format
- Flexible NetFlow Output Features on Data Export
- Finding Feature Information
- Using Flexible NetFlow Flow Sampling
- Flexible NetFlow - Layer 2 Fields
- Flexible Netflow - Ingress VRF Support
- Flexible NetFlow NBAR Application Recognition Overview
- Support for ISSU and SSO
- Flexible NetFlow IPFIX Export Format
- Flexible Netflow Export to an IPv6 Address
- Flexible Netflow�Egress VRF Support
- Flexible NetFlow - MPLS Support
- Flexible NetFlow�Prevent Export Storms
- Finding Feature Information
- Information About Flexible NetFlow—Prevent Export Storms
- How to Configure Flexible NetFlow—Prevent Export Storms
- Configuration Examples for Flexible NetFlow—Prevent Export Storms
- Additional References for Flexible NetFlow—Prevent Export Storms
- Feature Information for Flexible NetFlow—Prevent Export Storms
Flexible NetFlow—Prevent Export Storms
The Flexible NetFlow—Prevent Export Storms feature uses export spreading to prevent export storms that occur due to the creation of a synchronized cache. The export of the previous interval is spread during the current interval to prevent export storms.
- Finding Feature Information
- Information About Flexible NetFlow—Prevent Export Storms
- How to Configure Flexible NetFlow—Prevent Export Storms
- Configuration Examples for Flexible NetFlow—Prevent Export Storms
- Additional References for Flexible NetFlow—Prevent Export Storms
- Feature Information for Flexible NetFlow—Prevent Export Storms
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and 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 table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About Flexible NetFlow—Prevent Export Storms
Flexible NetFlow—Prevent Export Storms Overview
The Flexible NetFlow—Prevent Export Storms feature prevents export storms at a NetFlow Collecting (NFC) device, especially when multiple Flexible NetFlow (FNF) entities are configured to export FNF records to the same NFC at the same synchronized wallclock time. Export storms occur due to the creation of the synchronized cache type. Export spreading reduces the severity of export storms and mitigates their impact.
Synchronized cache with spreading requires adding the interval timestamp field for the synchronized cache. When no spreading is configured, it is recommended to add the interval as a key, but the configuration is not rejected to maintain backward compatibility. If no export spread is specified, the default behavior is immediate export. The spread time must be smaller than half of the interval. Therefore, it will be set to half the interval time or to the configured spread interval, whichever is lower (but not lower than 1 second).
The NetFlow/IPFIX header timestamp is set to the time when the record leaves the device (and not when the record leaves the NetFlow cache). The timestamp fields in the record itself capture the timestamp of the packets and are accounted for in the NetFlow cache. A new, implementation-driven concept of a “small interval” is now implicitly introduced and understood to be directly in contrast with the concept of a “large interval”. The “large interval” can be thought of as simply the sync interval as configured by the CLI. This is the interval at the beginning of which the entire export process is to be initiated. It corresponds to the "synchronized interval" that is driven and defined by the CLI. At the beginning of a “large interval”, we must take the number of records in the cache and divide that number by the number of seconds available in which to export these records, thus yielding the calculated or derived quantity of “records per second”.
For example, if there are 100,000 records in the cache and 100 seconds in which to export these records, we would calculate and store the value 1000 records/second. Because this quantity is expressed in seconds, it follows that we will need to count the records exported in small intervals that are one second in duration.
This then, implicitly, defines the notion of a “small interval”, which is, to be succinct and equal to one second. Combining this idea of small and large intervals with the need for a state or context, it quickly becomes evident that a timer thread must be able to discern if it is beginning a “small interval” or a “large interval”.
How to Configure Flexible NetFlow—Prevent Export Storms
Configuring Flexible NetFlow—Prevent Export Storms
1. enable
2. configure terminal
3. flow monitor type performance-monitor monitor-name
4. cache type synchronized
5. cache timeout synchronized interval export-spread spread-interval
6. end
DETAILED STEPS
Configuration Examples for Flexible NetFlow—Prevent Export Storms
Example: Flexible NetFlow—Prevent Export Storms Configuration
The following example shows how to enable and configure export spreading and prevent export storms where the synchronized interval timeout value is 12 seconds and the export spread interval is 5 seconds:
Device> enable Device# configure terminal Device(config)# flow monitor type performance-monitor my_mon Device(config-flow-monitor)# cache type synchronized Device(config-flow-monitor)# cache timeout synchronized 12 export-spread 5
Additional References for Flexible NetFlow—Prevent Export Storms
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Flexible NetFlow commands |
Technical Assistance
Description | Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for Flexible NetFlow—Prevent Export Storms
The following table provides release information about the feature or features described in this module. This table 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.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Flexible NetFlow - Prevent Export Storms |
Cisco IOS XE Release 3.11S |
The Flexible NetFlow—Prevent Export Storms feature uses export spreading to prevent export storms that occur due to the creation of a synchronized cache. The export of the previous interval is spread during the current interval to prevent export storms. |