1-5
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Flexible NetFlow
Configuring Flexible NetFlow
collect timestamp sys-uptime first
collect timestamp sys-uptime last
Configuring the Flow Exporter
Beginning in privileged EXEC mode, follow these steps to configure the NetFlow exporter. For more
information about configuring Flexible NetFlow flow exporters, see the Configuring Data Export for
Cisco IOS Flexible NetFlow with Flow Exporters document:
http://www.cisco.com/en/US/docs/ios/fnetflow/configuration/guide/cfg_de_fnflow_exprts.html
Note The optional export-protocol flow exporter configuration command specifies the NetFlow export
protocol used by the exporter. The switch supports only netflow-v9. Although visible in the CLI help,
netflow-5 is not supported.
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
flow exporter exporter-name Creates the flow exporter and enters Flexible NetFlow flow exporter
configuration mode. You can also use this command to modify an
existing flow exporter.
Step 3
description description (Optional) Configures a description for the exporter that appears in the
configuration and in the display of the show flow exporter command.
Step 4
destination {hostname | ip-address} [vrf
vrf-name]
Specifies the IP address or hostname of the destination system for the
exporter.
Step 5
dscp dscp (Optional) Configures differentiated services code point (DSCP)
parameters for datagrams sent by the exporter. The DSCP range is from
0 to 63. The default is 0.
Step 6
source interface-id (Optional) Specifies the local interface from which the exporter uses the
IP address as the source IP address for exported datagrams.
Step 7
option {exporter-stats | interface-table
| sampler-table} [timeout seconds]
(Optional) Configures options data parameters for the exporter. You can
configure all three options concurrently.
The range for the timeout is 1 to 86400 seconds. The default is 600.
Step 8
template data timeout seconds (Optional) Configures resending of templates based on a timeout. The
range is 1 to 86400 seconds (86400 seconds equals 24 hours). The default
is 600.
Step 9
transport udp udp-port Specifies the UDP port on which the destination system is listening for
exported datagrams. The range for udp-port is from 1 to 65536.
Step 10
ttl seconds (Optional) Configures the time-to-live (TTL) value for datagrams sent by
the exporter. The range is from 1 to 255 seconds. The default is 255.
Step 11
end Returns to privileged EXEC mode.
Step 12
show running-config flow exporter
exporter-name
(Optional) Verifies the configured flow exporter.
Step 13
show flow exporter exporter-name (Optional) Displays the status of a flow exporter.
Step 14
copy running-config startup-config (Optional) Saves your entries in the configuration file.