Cisco Cisco 5760 Wireless LAN Controller Referências técnicas

Página de 1016
collect counter
To configure the number of bytes or packets in a flow as a non-key field for a flow record, use the collect
counter 
command in flow record configuration mode. To disable the use of the number of bytes or packets
in a flow (counters) as a non-key field for a flow record, use the no form of this command.
collect counter {bytes {layer2 long| long}| packets long}
no collect counter {bytes {layer2 long| long}| packets long}
Syntax Description
Configures the number of bytes seen in a flow as a non-key field and enables
collecting the total number of bytes from the flow.
bytes
Enables collecting the total number of Layer 2 bytes or packets from the flow using
a 64-bit counter.
layer2 long
Enables collecting the total number of bytes or packets from the flow using a 64-bit
counter.
long
Configures the number of packets seen in a flow as a non-key field and enables
collecting the total number of packets from the flow using a 64-bit counter.
packets long
Command Default
The number of bytes or packets in a flow is not configured as a non-key field.
Command Modes
Flow record configuration
Command History
Modification
Release
This command was introduced.
Cisco IOS XE 3.2SE
Usage Guidelines
The Flexible NetFlow 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.
The collect counter bytes long command configures a 64-bit counter for the number of bytes seen in a flow.
The collect counter packets long command configures a 64-bit counter that will be incremented for each
packet seen in the flow. It is unlikely that a 64-bit counter will ever restart at 0.
Consolidated Platform Command Reference, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series)    
   OL-29471-01
863
collect counter