Cisco Nexus 7000 Series Reference Manual page 295

Nx-os system management command reference
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

M Commands
Examples
This example shows how to specify the direction of the flow to be matched:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match flow direction
This example shows how to specify the match criterion is based on the input interface:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match interface input
This example shows how to specify that the match criterion is based on the output interface:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match interface output
This example shows how to specify that the match criterion is based on protocol:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match ip protocol
This example shows how to specify that the match criterion is based on type of service (ToS):
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match ip tos
This example shows how to specify that the match criterion is based on the destination IPv4 address:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match ipv4 destination address
This example shows how to specify that the match criterion is based on the source IPv4 address:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match ipv4 source address
This example shows how to specify that the match criterion for transport layer fields is based on the
destination port:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match ipv4 transport destination-port
This example shows how to specify that the match criterion for transport layer fields is based on the
source port:
switch(config)# flow record FLOW-RECORD-1
switch(config-flow-record)# match ipv4 transport source-port
Related Commands
Command
flow record
OL-25806-03
Description
Creates a flow record.
Cisco Nexus 7000 Series NX-OS System Management Command Reference
match (NetFlow)
267

Advertisement

Table of Contents
loading

Table of Contents