PurposeCommand or Action
Specifies the collection field.
collecttype
Example:
switch(config-flow-record)# collect
counter packets
Step 5
Returns to global configuration mode.exit
Example:
switch(config-flow-record)# exit
Step 6
(Optional)
Saves the change persistently through
reboots and restarts by copying the running
configuration to the startup configuration.
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 7
Creating a Flow Exporter
The flow exporter configuration defines the export parameters for a flow and specifies reachability information
for remote NetFlow collector.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Creates a flow exporter and enters flow exporter
configuration mode. You can enter up to 63
flow exportername
Example:
switch(config)# flow exporter
flow-exporter-one
Step 2
alphanumeric characters for the flow exporter
name.
Sets the destination IPv4 or IPv6 address for this
flow exporter. You can optionally configure the
destination { ipv4-address | ipv6-address}
[use-vrf name ]
Step 3
VRF to use to reach the NetFlow collector. You
Example:
switch(config-flow-exporter)#
destination 192.0.2.1
can enter up to 32 alphanumeric characters for
the VRF name.
Specifies the interface to use to reach the
NetFlow collector at the configured destination.
source interface-type name/port
Example:
switch(config-flow-exporter)# source
ethernet 2/1
Step 4
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
268 OL-31641-01
Configuring NetFlow
Creating a Flow Exporter