match datalink mac
To configure the use of MAC addresses as a key field for a flow record, use the match datalink mac command
in flow record configuration mode. To disable the use of MAC addresses as a key field for a flow record, use
the no form of this command.
match datalink mac {destination address {input| output}| source address {input| output}}
no match datalink mac {destination address{input| output}| source address{input| output}}
Syntax Description
Configures the use of the destination MAC address as a key field.destination address
Specifies the MAC address of input packets.input
Specifies the MAC address of output packets.output
Configures the use of the source MAC address as a key field.source address
Command Default
MAC addresses are not configured as a key field.
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.
The input and output keywords are used to specify the observation point that is used by the match datalink
mac command to create flows based on the unique MAC addressees in the network traffic.
When a datalink flow monitor is assigned to an interface or VLAN record, it creates flows only for non-IPv6
or non-IPv4 traffic.
Note
To return this command to its default settings, use the no match datalink mac or default match datalink
mac flow record configuration command.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
440
match datalink mac