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
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
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. |