•
IPv6 source and IPv6 destination addresses
•
IPv6 flow label
•
IPv6 options
•
TOS field
•
Layer 4 protocol
•
Layer 4 source and destination ports
The following match keys are provided for Layer 2 NetFlow:
•
MAC source and destination addresses
•
Ethertype
•
VLAN
Specifying the Match Parameters
You must configure at least one of the following match parameters for flow records:
PurposeCommand
Specifies the IP protocol or ToS fields as keys
The match transport
destination-port and the match ip
protocol commands are required to
export Layer 4 port data.
Note
match ip {protocol | tos}
Example:
switch(config-flow-record)# match ip protocol
Specifies the IPv4 source or destination
address as a key.
match ipv4 {destination address | source address}
Example:
switch(config-flow-record)# match ipv4 destination
address
Specifies the IPv6 key.match ipv6 {destination address | source address |
flow-label | opitons }
Example:
switch(config-flow-record)# match ipv6 flow label
Specifies the transport source or destination
port as a key.
The match transport
destination-port and the match ip
protocol commands are required to
export Layer 4 port data.
Note
match transport {destination-port | source-port}
Example:
switch(config-flow-record)# match transport
destination-port
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 263
Configuring NetFlow
Specifying the Match Parameters