PurposeCommand or Action
Device(config-flow-record)# match
transport source-port
Specifies a match to the transport destination
port as a key field.
match transport destination-port
Example:
Step 9
Device(config-flow-record)# match
transport destination-port
Specifies a match to the output interface as a
key field.
match interface output
Example:
Step 10
Device(config-flow-record)# match
interface output
Specifies a match to the application name.match application name
Step 11
Example:
This action is mandatory for AVC
support, as this allows the flow to
be matched against the application.
Note
Device(config-flow-record)# match
application name
Specifies to collect the input interface from the
flows.
collect interface input
Example:
Step 12
Device(config-flow-record)# collect
interface input
Specifies to collect the number of bytes in a
flow.
collect counter bytes long
Example:
Step 13
Device(config-flow-record)# collect
counter bytes long
Specifies to collect the number of packets in
a flow.
collect counter packets long
Example:
Step 14
Device(config-flow-record)# collect
counter packets long
Specifies to collect the time, in milliseconds,
when the first packet was seen in the flow.
collect timestamp absolute first
Example:
Step 15
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 16
Returns to privileged EXEC mode.
Alternatively, you can also press Ctrl-Z to exit
global configuration mode.
end
Example:
Device(config)# end
Step 17
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
194
Configuring Application Visibility and Control in a Wired Network
Flow Record 4 - Directional Flow Record - Egress