Step 1 |
enable
|
Enables
privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
flow
exporter
exporter-name
Device(config)# flow exporter EXPORTER-1
|
Creates the
flow exporter and enters Flexible NetFlow flow exporter configuration mode.
|
Step 4 |
description
description
Device(config-flow-exporter)# description Exports to the datacenter
|
(Optional)
Configures a description to the exporter that will appear in the configuration
and the display of the
show
flow
exporter command.
|
Step 5 |
destination
{ip-address |
hostname }
[vrf
vrf-name ]
Device(config-flow-exporter)# destination 172.16.10.2
|
Specifies the
IP address or hostname of the destination system for the exporter.
Note
|
You can
export to a destination using either an IPv4 or IPv6 address.
|
|
Step 6 |
export-protocol
{netflow-v5 |
netflow-v9 |
ipfix }
Device(config-flow-exporter)# export-protocol netflow-v9
|
Specifies the
version of the NetFlow export protocol used by the exporter. The export of
extracted fields from NBAR is supported only over IPFIX.
|
Step 7 |
dscp
dscp
Device(config-flow-exporter)# dscp 63
|
(Optional)
Configures differentiated services code point (DSCP) parameters for datagrams
sent by the exporter.
|
Step 8 |
source
interface-type
interface-number
Device(config-flow-exporter)# source ethernet 0/0
|
(Optional)
Specifies the local interface from which the exporter will use the IP address
as the source IP address for exported datagrams.
|
Step 9 |
option
{exporter-stats |
interface-table |
sampler-table
|
vrf-table }
[timeout
seconds ]
Device(config-flow-exporter)# option exporter-stats timeout 120
|
(Optional)
Configures options data parameters for the exporter.
-
You can
configure all three options concurrently.
-
The range
for the
seconds
argument is 1 to 86,400. Default: 600.
|
Step 10 |
output-features
Device(config-flow-exporter)# output-features
|
(Optional)
Enables sending export packets using quality of service (QoS) and encryption.
|
Step 11 |
template
data
timeout
seconds
Device(config-flow-exporter)# template data timeout 120
|
(Optional)
Configures resending of templates based on a timeout.
|
Step 12 |
transport
udp
udp-port
Device(config-flow-exporter)# transport udp 650
|
Specifies the
UDP port on which the destination system is listening for exported datagrams.
|
Step 13 |
ttl
seconds
Device(config-flow-exporter)# ttl 15
|
(Optional)
Configures the time-to-live (TTL) value for datagrams sent by the exporter.
|
Step 14 |
end
Device(config-flow-exporter)# end
|
Exits flow
exporter configuration mode and returns to privileged EXEC mode.
|
Step 15 |
show
flow
exporter
exporter-name
Device# show flow exporter FLOW_EXPORTER-1
|
(Optional)
Displays the current status of the specified flow exporter.
|
Step 16 |
show
running-config
flow
exporter
exporter-name
Device# show running-config flow exporter FLOW_EXPORTER-1
|
(Optional)
Displays the configuration of the specified flow exporter.
|