[Survey] The 2025 Observability Survey - Share your opinion and earn $10.Take the survey

Configuring Cisco Nexus 3k Series Devices

 

Cisco Nexus 3K Series device support NetFlow export from the device. Please configure the below commands in the configuration mode:

config t
feature sflow
sflow max-sampled-size 256
sflow counter-poll-interval poll-interval 30
sflow max-datagram-size 2000
sflow collector-ip {NetFlow Server IP} vrf management
sflow collector-port 9996
sflow agent-ip {ip address of device}
sflow data-source interface ethernet 1/5-12

 

 

Example:

config
feature sflow
sflow max-sampled-size 256
sflow counter-poll-interval poll-interval 30
sflow max-datagram-size 2000
sflow collector-ip 2.2.2.2 vrf management
sflow collector-port 9996
sflow agent-ip 1.1.1.1
sflow data-source interface ethernet 1/5-12

 

 

sFlow Show Commands

To display the sFlow configuration information, perform one of the following tasks:

Command Purpose

show sflow

Displays the sFlow global configuration.

show sflow statistics

Displays the sFlow statistics.

clear sflow statistics

Clears the sFlow statistics.

show running-config sflow[all]

Displays the current running sFlow configuration.

Back to Top