M Commands
match (NetFlow)
266
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
match (NetFlow)
To specify match criteria for Flexible NetFlow flow records, use the match command. To remove match
criteria for flow records, use the no form of this command.
match {flow direction | interface {input | output} | ip {protocol | tos} | ipv4 {destination address
| source address} | transport {destination-port | source-port}}
match {flow direction | interface {input | output} | ip {protocol | tos} | ipv4 {destination address
| source address} | transport {destination-port | source-port}}
Syntax Description
Defaults No matching criteria are specified by default.
Command Modes Flow record configuration
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines A Flexible NetFlow flow record must be enabled before you can use the match command.
This command does not require a license.
flow direction Specifies the direction of the flow to be matched.
interface input Specifies that the match criterion is based on the input interface.
interface output Specifies that the match criterion is based on the output interface.
ip protocol Specifies that the match criterion is based on protocol.
ip tos Specifies that the match criterion is based on type of service (ToS).
ipv4 destination
address
Specifies that the match criterion is based on the destination IPv4 address.
ipv4 source address Specifies that the match criterion is based on the source IPv4 address.
transport
destination-port
Specifies that the match criterion for transport layer fields is based on the
destination port.
transport source-port Specifies that the match criterion for transport layer fields is based on the
destination port.
Release Modification
4.0(1) This command was introduced.