Specifies to pick the IPv4 or IPv6 address of either the Ethernet, Virtual Ethernet (ve), management, or loopback interface as the source of sFlow packets.
By default, sFlow uses the management port IP
address as the source IP.
Parameters
ethernetslot/port
Specifies an Ethernet slot and port. The only
supported slot value on the fixed form factor SLX devices is
0.
loopbackloopback_num
Specifies a loopback interface. Valid values range from 1 through 255.
managementmgmt-id
Specifies the management interface. The only
supported value is 0.
veve-interface-number
Specifies a virtual Ethernet (VE) interface. Valid values range from 1 through 4096.
Modes
Global configuration mode
Usage Guidelines
The
no form of the command is available after the source type has been specified.
The sFlow source IP (source interface)
configurations are not applicable to sFlow collectors that are reachable through
the management port unless the specified source interface falls in the
management VRF.
The
show sflow command displays the source interface field only when it is configured.
Examples
To specify the Ethernet address as the source of sFlow packets: