Configuring Netflow Timeouts - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring NetFlow
Step 7
Step 8
Step 9

Configuring NetFlow Timeouts

You can optionally configure global NetFlow timeouts that apply to all flows in the system.
Procedure
Step 1
Step 2
Step 3
Command or Action
layer2-switched flow monitor flow-name
input [sampler sampler-name]
Example:
switch(config-vlan)# layer2-switched
flow monitor L2_monitor input sampler
L2_sampler
show flow record netflow layer2-switched
input
Example:
switch(config-if# show flow record
netflow layer2-switched input
copy running-config startup-config
Example:
switch(config-vlan)# copy
running-config startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
flow timeoutseconds
Example:
switch(config)# flow timeout 30
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring NetFlow Timeouts
Purpose
Associates a flow monitor and an optional sampler
to the switch port input packets.
• You can enter up to 63 alphanumeric
characters for the flow monitor name and the
sampler name.
(Optional) Displays information about the Layer
2 NetFlow default record.
(Optional) Saves this configuration change.
Purpose
Enters global configuration mode.
Sets the flush timeout value in seconds. The
range is from 5 to 60 seconds.
(Optional)
Saves the change persistently through reboots
and restarts by copying the running configuration
to the startup configuration.
387

Advertisement

Table of Contents
loading

Table of Contents