collect
To configure non-key fields for the flow monitor record and to enable capturing the values in the fields for
the flow created with the record, use the collect command in flow record configuration mode.
collect {counter| interface| timestamp| transport}
Syntax Description
Configures the number of bytes or packets in a flow as a non-key field for a flow
record. For more information, see collect counter, on page 415.
counter
Configures the input and output interface name as a non-key field for a flow record.
For more information, see collect interface, on page 416.
interface
Configures the absolute time of the first seen or last seen packet in a flow as a non-key
field for a flow record. For more information, see collect timestamp absolute, on
page 417.
timestamp
Enables the collecting of transport TCP flags from a flow record. For more
information, see collect transport tcp flags, on page 418.
transport
Command Default
Non-key fields are not configured for the flow monitor record.
Command Modes
Flow record configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SE
Usage Guidelines
The values in non-key fields are added to flows to provide additional information about the traffic in the flows.
A change in the value of a non-key field does not create a new flow. In most cases, the values for non-key
fields are taken from only the first packet in the flow.
The collect commands are used to configure non-key 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 non-key fields are added to flows
to provide additional information about the traffic in the flows. A change in the value of a non-key field does
not create a new flow. In most cases the values for non-key fields are taken from only the first packet in the
flow.
Although it is visible in the command-line help string, the flow username keyword is not supported.Note
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
413
collect