PurposeCommand or Action
Specifies to collect the number of connection
initiations observed.
collect connection new-connections
Example:
Step 13
Device(config-flow-record)# collect
connection new-connections
Specifies to collect the number of packets sent
by the client.
collect connection client counter packets
long
Example:
Step 14
Device(config-flow-record)# collect
connection client counter packets long
Specifies to collect the total number of bytes
transmitted by the client.
collect connection client counter bytes
network long
Example:
Step 15
Device(config-flow-record)# collect
connection client counter bytes network
long
Specifies to collect the number of packets sent
by the server.
collect connection server counter packets
long
Example:
Step 16
Device(config-flow-record)# collect
connection server counter packets long
Specifies to collect the total number of bytes
transmitted by the server.
collect connection server counter bytes
network long
Example:
Step 17
Device(config-flow-record)# collect
connection server counter bytes network
long
Specifies to collect the time, in milliseconds,
when the first packet was seen in the flow.
collect timestamp absolute first
Example:
Step 18
Device(config-flow-record)# collect
timestamp absolute first
Specifies to collect the time, in milliseconds,
when the most recent packet was seen in the
flow.
collect timestamp absolute last
Example:
Device(config-flow-record)# collect
timestamp absolute last
Step 19
Returns to privileged EXEC mode.
Alternatively, you can also press Ctrl-Z to exit
global configuration mode.
end
Example:
Device(config)# end
Step 20
Displays information about all the flow
records.
show flow record
Example:
Step 21
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
187
Configuring Application Visibility and Control in a Wired Network
Flow Record 1 - Bidirectional Flow Record