cisco — Creating a Flow Exporter

Procedure Configuring Flexible NetFlow Creating a Flow Exporter Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device(config)# configure terminal Enters global configuration mode. Step 3 flow exporter name Example: Device(config)# flow exporter ExportTest Creates a flow exporter and enters flow exporter configuration mode. Step 4 description string Example: Device(config-flow-exporter)# description ExportV9 (Optional) Describes this flow record as a maximum 63-character string. Step 5 destination {ipv4-address} Example:

Device(config-flow-exporter)# destination 192.0.2.1 (IPv4 destination) Sets the IPv4 destination address or hostname for this exporter. Step 6 dscp value Example: Device(config-flow-exporter)# dscp 0 (Optional) Specifies the differentiated services codepoint value. The range is from 0 to 63. The default is 0. Step 7 source interface type interface number Example: Device(config-flow-exporter)# source gigabitEthernet1/0/1 (Optional) Specifies the interface to use to reach the NetFlow collector at the configured destination. Note Flow Exporter does not support unnumbered IP interface as source interface. The following interfaces can be configured as source: Configuring Flexible NetFlow 23