Default NetFlow Configuration Settings for S- and K-Series Systems provides a listing of the default NetFlow configuration settings for the S- and K-Series systems.
Parameter | Description | Default Value |
---|---|---|
Cache Status | Whether NetFlow caching is globally enabled or disabled. | Disabled globally |
Destination IP address | The IP address of the NetFlow collector which is the destination of the NetFlow UDP packets. | None |
Export Interval | The time out interval when the NetFlow cache is flushed and the data is exported, if the maximum number of entries has not been reached. | 30 minutes |
Export Version | The NetFlow flow record format used when exporting NetFlow packets. Version can be either 5 or 9. | Version 5 |
Inactive flow timer | The number of seconds after a flow stops before NetFlow sends an export packet for that flow to the collector. | 40 seconds (non-configurable) |
Optional Export Data | Export data types that are disabled by default. These data types include source and destination MAC addresses and VLAN IDs associated with the ingress and egress interfaces for the flow. | Disabled |
Port state | Whether NetFlow is enabled or disabled on a port. | Disabled |
Refresh-rate | The number of flow report packets sent before NetFlow retransmits a template to the collector when using NetFlow Version 9. | 20 flow report packets |
Timeout-period | When using NetFlow Version 9, the number of minutes NetFlow waits before retransmitting a template to the collector. | 30 minutes |
Configuring NetFlow on S- and K-Series Systems provides a CLI example of a NetFlow setup. Steps 1 – 3 are required. Steps 4 – 6 are optional depending upon the needs of your configuration. All NetFlow commands can be configured in any command mode.
Step | Task | Command(s) |
---|---|---|
1 | Enable NetFlow collection on the specified port and optionally specify the flow direction to be collected. | set netflow port port_string enable [rx | tx | both] |
2 | Configure up to four NetFlow collector destination servers for this system. | set netflow export-destination ip-address [udp-port] |
3 | Globally enable the NetFlow cache for this system. | set netflow cache enable |
4 | Optionally, modify the active flow timer value for this system. | set netflow export-interval interval |
5 | Optionally, change NetFlow record format between version 5 and version 9 for this system. | set netflow export-version version |
6 | Optionally, enable NetFlow Version 9 MAC and VLAN export data. | set netflow export-data enable {mac | vlan} |
7 | If using version 9, optionally modify the number of export packets sent that cause a template to be retransmitted by an individual S- or K-Series module and the length of the timeout period, in minutes, after which a template is retransmitted by all modules in the system. | set netflow template {[refresh-rate packets] [timeout minutes] |
8 | Verify any configuration changes made. | show netflow config |