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
-SM-183
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
sflow data-source
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.
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
]
Syntax Description
Defaults
None
Command Modes
Global configuration
Command History
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
channel-number
Specifies the Etherchannel number.
ethernet
slot
/
port
[
-port
]
The slot or port or range of ports for an Ethernet data source.
interface
Configures the Ethernet data source for the interfaces.
port-channel
Specifies the Etherchannel interface.
Release
Modification
5.0(3)U4(1)
This command was introduced.