Cisco Nexus 7000 Series Configuration Manual page 405

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

Advertisement

Configuring NetFlow
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Command or Action
configure t
Example:
switch# config t
Enter configuration commands, one per
line. End with CNTL/Z.
switch(config)#
flow record name
Example:
switch(config)# flow record Test
switch(config-flow-record)#
descriptionstring
Example:
switch(config-flow-record)# description
Ipv4Flow
matchtype
Example:
switch(config-flow-record)# match
transport destination-port
collect type
Example:
switch(config-flow-record)# collect
counter packets
show flow record [name] [record-name]
|netflow-original | netflow protocol-port |
netflow {ipv4 | ipv6} {original-input |
original-output}}
Example:
switch(config-flow-exporter)# show flow
record netflow protocol-port
copy running-config startup-config
Example:
switch(config-flow-exporter)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Creating a Flow Record
Purpose
Enters global configuration mode.
Creates a flow record and enters flow record
configuration mode. You can enter up to 63
alphanumeric characters for the flow record
name.
(Optional)
(Optional) Describes this flow record as a
maximum 63-character string.
(Optional)
Specifies a match key.
Note
The match transport
destination-port and the match ip
protocol commands are required to
export Layer 4 port data.
(Optional) Specifies the collection field.
(Optional) Displays information about NetFlow
flow records. You can enter up to 63
alphanumeric characters for the flow record
name.
(Optional) Saves this configuration change.
377

Advertisement

Table of Contents
loading

Table of Contents