Configuring NetFlow
Enabling the NetFlow Feature
You must globally enable NetFlow before you can configure any flows.
Procedure
Step 1
Step 2
Creating a Flow Record
Before You Begin
Make sure that you are in the correct VDC. To change the VDC, use the switchto vdc command.
Procedure
Step 1
Step 2
Step 3
Step 4
OL-31641-01
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
feature netflow
Example:
switch(config)# feature netflow
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
flow recordname
Example:
switch(config)# flow record IPv4Flow
descriptionstring
Example:
switch(config-flow-record)# description
Ipv4flow
matchtype
Example:
switch(config-flow-record)# match
transport destination-port
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Enabling the NetFlow Feature
Purpose
Enters global configuration mode.
Enables the NetFlow feature.
Purpose
Enters global configuration mode.
Creates a flow record and enters flow record
configuration mode.
Describes this flow record.
Specifies the match key.
267