1-6
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Flexible NetFlow
Configuring Flexible NetFlow
This example shows how to configure the flow exporter:
Switch(config)# flow exporter QoS-Collector
Switch(config-flow-exporter)# description QoS Collector Bldg 19
Switch(config-flow-exporter)# destination 172.20.244.28
Switch(config-flow-exporter)# source vlan 1
Switch(config-flow-exporter)# dscp 3
Switch(config-flow-exporter)# transport udp 2055
Switch(config-flow-exporter)# end
This is an example of output from the show flow exporter command:
Switch# show flow exporter EXPORTER-1
Flow Exporter QoS-Collector:
Description: QoS Collector Bldg 19
Export protocol: NetFlow Version 9
Transport Configuration:
Destination IP address: 172.20.244.28
Source IP address: 10.30.0.234
Source Interface: Vlan1
Transport Protocol: UDP
Destination Port: 2055
Source Port: 62401
DSCP: 0x3
TTL: 255
Output Features: Not Used
Configuring a Customized Flow Monitor
Beginning in privileged EXEC mode, follow these steps to configure a NetFlow monitor.
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
flow monitor monitor -name Creates a flow monitor and enters Flexible NetFlow flow monitor
configuration mode. You can also use this command to modify an
existing flow monitor
Step 3
description description (Optional) Configures a description for the flow monitor.
Step 4
record record-name Specifies the record for the flow monitor.
Step 5
cache {timeout active seconds | type
normal}
(Optional) Modifies the flow monitor cache parameters such as timeout
values, number of cache entries, and the cache type.
• timeout active seconds—Configure the active flow timeout. This
defines the granularity of the traffic analysis. The range is from 1 to
604800 seconds. The default is 1800. Typical values are 60 or 300
seconds. See the Configuring Data Export for Cisco IOS Flexible
NetFlow with Flow Exporters document for recommended values.
• type normal—Configure normal flow removal from the flow cache.
Note Although visible in the command line help, the entries keyword
and inactive and update timeouts are not supported.
Step 6
Repeat step 5 to configure additional
cache parameters for the flow monitor.
Step 7
exporter exporter-name (Optional) Specifies the name of an exporter that was created previously.