Ip Flow Monitor - Cisco Nexus 7000 Series Reference Manual

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

ip flow monitor

ip flow monitor
To enable a Flexible NetFlow flow monitor for traffic that the router is receiving or forwarding, use the
ip flow monitor command. To disable a Flexible NetFlow flow monitor, use the no form of this
command.
Syntax Description
monitor-name
input
output
sampler
sampler-name
Defaults
Disabled
Command Modes
Interface configuration
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0(1)
Usage Guidelines
You must have already created a flow monitor by using the flow monitor command before you can apply
the flow monitor to an interface with the ip flow monitor command to enable traffic monitoring with
Flexible NetFlow.
You must have already created a sampler by using the sampler command before you can enable a flow
sampler for this flow monitor with the ip flow monitor command.
When adding a sampler to a flow monitor, only packets that are selected by the named sampler are
entered into the cache to form flows. Each use of a sampler results in separate statistics being stored for
that usage.
You cannot add a sampler to a flow monitor after the flow monitor has been enabled on an interface. You
must remove the flow monitor from the interface before you enable the same flow monitor with a
sampler. See the "Examples" section for more information.
The statistics for each flow needs to be scaled to give the expected true usage. For example, if you are
Note
using a 1 in 10 sampler, you must multiply the packet and byte counters by 10.
Cisco Nexus 7000 Series NX-OS System Management Command Reference
220
ip flow monitor monitor-name {input | output} [sampler sampler-name]
Name of a flow monitor that you previously configured.
Monitors traffic that the routers are receiving on the interface.
Monitors traffic that the routers are transmitting on the interface.
(Optional) Specifies the name of a flow sampler for the flow monitor.
Flow sampler for this flow monitor using the name of a sampler that you
previously configured.
Modification
This command was introduced.
I Commands
OL-25806-03

Advertisement

Table of Contents
loading

Table of Contents