Sflow Data-Source - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

Chapter
System Management Commands
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

sflow data-source

To configure a port or range of ports for the sFlow sampling data source, use the sflow data-source
command. To remove the port, use the no form of this command.
Syntax Description
channel-number
ethernet slot/port[-port]
interface
port-channel
Defaults
None
Command Modes
Global configuration
Release
Command History
5.0(3)U4(1)
Usage Guidelines
If you want to use a port channel as the data source, enusre that you have already configured the port
channel and you know the port channel number.
This command does not require a license.
Examples
This example shows how to configure Ethernet ports 5 through 12 for the sFlow sampler.
switch# configure terminal
switch(config)# sflow data-source interface ethernet 1/5-12
switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)#
This example shows how to configure port channel 100 for the sFlow sampler.
switch# configure terminal
switch(config)# sflow data-source interface port-channel 100
switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)#
Related Commands
OL-29557-04
sflow data-source interface [ethernet slot/port[-port] | port-channel channel-number]
no sflow data-source interface [ethernet slot/port[-port] | port-channel channel-number]
Specifies the Etherchannel number.
The slot or port or range of ports for an Ethernet data source.
Configures the Ethernet data source for the interfaces.
Specifies the Etherchannel interface.
Modification
This command was introduced.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
sflow data-source
-SM-183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents