Creating a Flow Monitor
You can create a flow monitor and associate it with a flow record and a flow exporter. All the flows that
belong to a monitor use the associated flow record to match on the different fields and the data is exported to
the specified flow exporter.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Creates a flow monitor and enters flow monitor
configuration mode. You can enter up to 63
alphanumeric characters for the flow monitor name.
flow monitorname
Example:
switch(config)# flow monitor
flow-monitor-one
Step 2
(Optional)
Describes this flow monitor. You can enter up to
63 alphanumeric characters for the description.
description string
Example:
switch(config-flow-monitor)#
description IPv4Monitor
Step 3
(Optional)
Associates a flow exporter with this flow monitor.
You can enter up to 63 alphanumeric characters
for the exporter name.
exporter name
Example:
switch(config-flow-monitor)# export
v9
Step 4
Associates a flow record with the specified flow
monitor. You can enter up to 63 alphanumeric
characters for the record name.
record {name netflow-original | netflow
protocol-port | netflow {ipv4 | ipv6}
{original-input | original-output}}
Example:
switch(config-flow-monitor)# record
IPv4Flow
Step 5
Returns to global configuration mode.exit
Example:
switch(config-flow-monitor)# 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
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
270 OL-31641-01
Configuring NetFlow
Creating a Flow Monitor