hit counter script

Creating A Sampler - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Creating a Sampler

Step 5
Step 6
Step 7
Creating a Sampler
You can create a flow sampler to definer the NetFlow sampling rate for a flow.
Procedure
Step 1
Step 2
Step 3
Step 4
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
382
Command or Action
record {name netflow-original | netflow
protocol-port | netflow {ipv4 | ipv6}
{original-input | original-output}}
Example:
switch(config-flow-monitor)# record
IPv4Flow
exit
Example:
switch(config-flow-monitor)# exit
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
sampler name
Example:
switch(config)# sampler testsampler
description string
Example:
switch(config-flow-sampler)#
description samples
mode sample-number out-of
packet-number
Example:
switch(config-flow-sampler)# mode 1
out-of 128
Purpose
Associates a flow record with the specified flow
monitor. You can enter up to 63 alphanumeric
characters for the record name.
Returns to global configuration mode.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to
the startup configuration.
Purpose
Enters global configuration mode.
Creates a sampler and enters flow sampler
configuration mode. You can enter up to 63
alphanumeric characters for the flow sampler name.
(Optional)
(Optional) Describes this sampler. You can enter up
to 63 alphanumeric characters for the description.
Defines the number of samples to take per the
number of packets received. The sample-number
range is from 1 to 64, and the packet-number range
is from 1 to 65536 packets.
Configuring NetFlow

Advertisement

Table of Contents
loading

Table of Contents

Save PDF