sflow source
sflow source
[
ipv6
]
{
ethernet
stackid/slot/port
|
ve
ve-number
|
loopback
number
}
no sflow source
[
ipv6
]
{
ethernet
stackid/slot/port
|
ve
ve-number
|
loopback
number
}
The sFlow source is not configured. The IP address of the outgoing interface is used in the sFlow datagram.
Global configuration mode
At any time, only one source of the Ethernet, VE, or loopback interface can be specified as the source interface.
The first IP address in the interface IP address list is considered the source IP address. Upon configuring another source for an IPv4 or IPv6 address, any previously configured source for the IPv4 or IPv6 address will be deleted. You can configure IPv4 and IPv6 source interfaces independently.
If the sFlow destination is IPv6, and the sFlow source is configured for an IPv6 address, then an IPv6 address will be selected from the configured interface. If the sFlow destination is IPv4, and the sFlow source is configured for an IPv4 address, then an IPv4 address will be selected from the configured interface.
The
no form of the command removes the sFlow source configuration from the interface and
restores the default behavior of using IP address of the outgoing interface as the
source IP address of the sFlow datagram.
The following example configures an Ethernet interface to be used as the sFlow source IPv6 interface.
device(config)# sflow source ipv6 ethernet 1/1/2
| Release version | Command history |
|---|---|
| 08.0.30 | This command was introduced. |