Step 1 | switch#
configure
terminal
|
Enters global
configuration mode.
|
Step 2 | switch(config)#flow exporter
name
|
Creates a Flow
Exporter, saves it in the running configuration, and then places you in CLI
Flow Exporter Configuration mode.
|
Step 3 | switch(config-flow-exporter)#
description
string
|
Adds a
description of up to 63 characters to this Flow Exporter and saves it in the
running configuration.
|
Step 4 | switch(config-flow-exporter)#
destination
ipv4-address
|
Specifies the
IP address of the destination interface for this Flow Exporter and saves it in
the running configuration.
|
Step 5 | switch(config-flow-exporter)#
dscp
value
|
Specifies the
differentiated services codepoint value for this Flow Exporter, between 0 and
63, and saves it in the running configuration.
|
Step 6 | switch(config-flow-exporter)#
source lc-exp ipv4-address/subnet-mask
| (Optional)
Specifies the
IP address to spoof, from which the Flow Records are sent to the NetFlow
Collector Server, and saves it in the running configuration.
|
Step 7 | switch(config-flow-exporter)#
transport udp
port-number
|
Specifies the
destination UDP port, between 1 and 65535, used to reach the NetFlow collecton,
and saves it in the running configuration.
|
Step 8 | switch(config-flow-exporter)#
version {9}
|
Specifies
NetFlow export version 9, saves it in the running configuration, and places you
into the export version 9 configuration mode.
|
Step 9 | switch(config-flow-exporter-version-9)#
option {exporter-stats |
interface-table}
timeout
value
|
Specifies one
of the following version 9 exporter resend timers and its value, between 1 and
86400 seconds, and saves it in the running configuration.
-
exporter-stats
-
interface-table
|
Step 10 | switch(config-flow-exporter-version-9)#
template data timeout
seconds
|
Sets the
template data resend timer and its value, between 1 and 86400 seconds, and
saves it in the running configuration.
|
Step 11 | switch(config-flow-exporter-version-9)#
show flow exporter
[name]
|
(Optional)
Displays information about the Flow Exporter.
|
Step 12 | switch(config-flow-exporter-version-9)#
copy running-config
startup-config
|
Saves the
change persistently through reboots and restarts by copying the running
configuration to the startup configuration.
|