Número de artículo: 000116368


How to configure sFlow on Dell EMC Networking N Series Switches

Resumen: How to configure Sflow on Dell EMC Networking N2000 and N3000 series switches

Contenido del artículo


Instrucciones



This article explains how to configure and verify sFlow on Dell EMC N Series switches.


Overview


sFlow technology: sFlow is an industry standard technology for monitoring high-speed switched and routed networks. Dell EMC Networking N-Series switch software has a built-in sFlow agent that can monitor network traffic on each port and generate sFlow data to an sFlow receiver (also known as a collector).

Models that support sFlow currently

N1100, N1500, N2000, N3000, N4000

sFlow defaults in n series switches:
 

Parameter

Default Value

Receiver port

6343

Receiver Maximum Datagram Size

1400 bytes

Maximum header size

128 bytes


Configuration


To configure sflow on the switch , input the following commands :
 

console>enable

Enter the privilege mode

console#configure

Enter the configure mode

console(config)#sflow destination

Configure the address of the sFlow receiver and
(optionally) the destination UDP port for sFlow
datagrams.

console(config)#sflow destination owner timeout

Specify the identity string of the receiver and set the
receiver timeout value.

timeout - The number of seconds the configuration will be valid before it is automatically cleared. A value of 0 essentiality means the receiver is not configured.

console(config)#sflow polling

Enable a new sFlow poller instance on an interface range.

console(config)#sflow sampling

Enable a new sflow sampler instance for the specified
interface range.

 



Below is the example which gives a sample configuration of sflow on switch with polling and sampling on interfaces from ten gig port 1 to 4.

This example uses the following input values.

ip address of the sflow receiver -- 192.168.2.1
owner string -- SFLOW_EXAMPLE
receiver index -- 1
polling interval -- 30 (Polling interval : The sFlow instance polling interval. A value of n means once in n seconds a counter sample is generated. (Range: 0-86400))
sampling rate -- 1204 (Sampling-rate - The statistical sampling rate for packet sampling from this source. A sampling rate of 1 counts all packets. A value of n means that out of n incoming packets, 1 packet will be sampled. (Range: 1024 - 65536)).


 

Sample Configuration


console>enable
console#configure
console(config)#sflow 1 destination 192.168.2.1
console(config)#sflow 1 destination owner SFLOW_EXAMPLE timeout 10000
console(config)#sflow 1 polling gi1/0/1-4 30
console(config)#sflow 1 sampling gi1/0/1-4 1024


 

Verify Configuration



To verify the configuration use the below commands

console#show sflow 1 destination

Receiver Index.................... 1
Owner String...................... SFLOW_EXAMPLE
Time out.......................... 10000
IP Address:....................... 192.168.2.1
Address Type...................... 1
Port.............................. 6343
Datagram Version.................. 5
Maximum Datagram Size............. 1400

console#show sflow 1 polling
Poller Receiver Poller
Data Source Index Interval
----------- ------- -------
Te1/0/1     1     30
Te1/0/2     1     30
Te1/0/3     1     30
Te1/0/4     1     30
 

console#show sflow 1 sampling
Sampler Receiver Packet Max Header
Data Source Index Sampling Rate Size
----------- ------- ------------- ----------
Te1/0/1            1      1024        128
Te1/0/2            1      1024        128
Te1/0/3            1      1024        128
Te1/0/4            1      1024        128

Propiedades del artículo


Producto afectado

PowerSwitch N2000 Series, PowerSwitch N3000 Series

Fecha de la última publicación

21 feb. 2021

Versión

3

Tipo de artículo

How To

Valorar este artículo


Acertado
Útil
Fácil de entender
¿Le ha resultado útil este artículo?

0/3000 caracteres