match ipv6
To configure one or more of the IPv6 fields as a key field for a flow record, use the match ipv6 command in
flow record configuration mode. To disable the use of one or more of the IPv6 fields as a key field for a flow
record, use the no form of this command.
match ipv6 {destination address| hop-limit| protocol| source address| traffic-class| version}
no match ipv6 {destination address| hop-limit| protocol| source address| traffic-class| version}
Syntax Description
Configures the IPv4 destination address as a key field. For more
information see match ipv6 destination address, on page 451.
destination address
Configures the IPv6 hop limit as a key field. For more information see
match ipv6 hop-limit, on page 452.
hop-limit
Configures the IPv6 protocol as a key field.protocol
Configures the IPv4 destination address as a key field. For more
information see match ipv6 source address, on page 453.
source address
Configures the IPv6 traffic class as a key field.traffic-class
Configures the IPv6 version from IPv6 header as a key field.version
Command Default
The IPv6 fields 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.
Examples
The following example configures the IPv6 protocol field as a key field:
Device(config)# flow record FLOW-RECORD-1
Device(config-flow-record)# match ipv6 protocol
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
450
match ipv6