match interface
To configure the input and output interfaces as key fields for a flow record, use the match interface command
in flow record configuration mode. To disable the use of the input and output interfaces as key fields for a
flow record, use the no form of this command.
match interface {input| output}
no match interface {input| output}
Syntax Description
Configures the input interface as a key field.input
Configures the output interface as a key field.output
Command Default
The input and output interfaces are not configured as key fields.
Command Modes
Flow record configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SE
Usage Guidelines
A flow record requires at least one key field before it can be used in a flow monitor. The key fields distinguish
flows, with each flow having a unique set of values for the key fields. The key fields are defined using the
match command.
Examples
The following example configures the input interface as a key field:
Device(config)# flow record FLOW-RECORD-1
Device(config-flow-record)# match interface input
The following example configures the output interface as a key field:
Device(config)# flow record FLOW-RECORD-1
Device(config-flow-record)# match interface output
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
445
match interface