Collect Flow - Cisco Nexus 7000 Series Reference Manual

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

Advertisement

collect flow

collect flow
To configure the flow direction or the flow sampler ID number as a nonkey field and collect their values
for a Flexible NetFlow flow record, use the collect flow command. To disable the use of the flow
direction or the flow sampler ID number as a nonkey field for a Flexible NetFlow flow record, use the
no form of this command.
Syntax Description
direction
sampler
Defaults
This command is not enabled by default.
Command Modes
Flow record configuration
Supported User Roles
network-admin
vdc-admin
Command History
Release
4.0(1)
Usage Guidelines
The Flexible NetFlow commands that start with collect are used to configure nonkey fields for the flow
monitor record and to enable capturing the values in the fields for the flow created with the record. The
values in nonkey fields are added to flows to provide additional information about the traffic in the flows.
A change in the value of a nonkey field does not create a new flow. In most cases, the values for nonkey
fields are taken from only the first packet in the flow.
Use the collect flow direction command to indicate the direction of the flow. Use this command when
you configure a single flow monitor for input and output flows and to find and eliminate flows that are
being monitored twice: once on input and once on output.
Use the collect flow sampler command to collect the ID of the flow sampler that is used to monitor the
flow. Use this command when more than one flow sampler is being used with different sampling rates.
The option sampler-table command exports option records with mappings of the flow sampler ID to the
sampling rate so that the collector can calculate the scaled counters for each flow.
This command does not require a license.
Cisco Nexus 7000 Series NX-OS System Management Command Reference
78
collect flow {direction | sampler}
no collect flow {direction | sampler}
Configures the flow direction as a nonkey field and collects the direction that
the flow was monitored in.
Configures the flow sampler ID as a nonkey field and collects the ID of the
sampler that is assigned to the flow monitor.
Modification
This command was introduced.
C Commands
OL-25806-03

Advertisement

Table of Contents
loading

Table of Contents