By default, sFlow uses the management port IP address as the source IP.
Global configuration mode
The no form of the command is available after the source type has been specified.
To specify the Ethernet address as the source of sFlow packets:
device# config device(config)# sflow source-interface ethernet 0/1
To specify the loopback interface as the source of sFlow packets:
device(config)# sflow source-interface loopback 42
To confirm the above configuration:
device(config)# do show running-config sflow sflow enable sflow source-interface loopback 42
To disable the above configuration and revert to the default:
device(config)# no sflow source-interface device(config)# do show running-config sflow sflow enable