Specifying The Match Parameters - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Creating a Flow Record

Specifying the Match Parameters

You must configure at least one of the following match parameters for flow records:
Command
match ip {protocol | tos}
Example:
switch(config-flow-record)# match ip protocol
match ipv4 {destination address | source address}
Example:
switch(config-flow-record)# match ipv4 destination
address
match ipv6 {destination address | source address |
flow-label | opitons }
Example:
switch(config-flow-record)# match ipv6 flow label
match transport {destination-port | source-port}
Example:
switch(config-flow-record)# match transport
destination-port
match datalink {mac source-address | mac
destination-address | ethertype | vlan}
Example:
switch(config-flow-record)# match datalink
ethertype
Specifying the Collect Parameters
You must configure at least one of the following collect parameters for flow records:
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
378
Configuring NetFlow
Purpose
Specifies the IP protocol or ToS fields as keys
The match transport
Note
destination-port and the match ip
protocol commands are required to
export Layer 4 port data.
The data is collected and displayed
in the output of the show hardware
flow ip command but is not collected
and exported until you configure both
commands.
Specifies the IPv4 source or destination
address as a key.
Specifies the IPv6 key.
Specifies the transport source or destination
port as a key.
Note
The match transport
destination-port and the match ip
protocol commands are required to
export Layer 4 port data.
The data is collected and displayed
in the output of the show hardware
flow ip command but is not collected
and exported until you configure both
commands.
Specifies the Layer 2 attribute as a key.

Advertisement

Table of Contents
loading

Table of Contents