sflow destination
sflow destination
[
ip-address
|
ipv6
ipv6-address
]
[
udp-port-number
]
[
vrf
vrf-name
]
no sflow destination
[
ip-address
|
ipv6
ipv6-address
]
[
udp-port-number
]
[
vrf
vrf-name
]
An sFlow collector is not configured.
Global configuration mode
sFlow exports traffic statistics to an external collector. You can specify up to four collectors. You can specify more than one collector with the same IP address if the UDP port numbers are unique. You can have up to four unique combinations of IP addresses and UDP port numbers.
By default sFlow uses the management VRF to send the samples to the collector. If no management VRF is configured, sFlow uses the default VRF, and this default VRF ID will be assigned to any configured collector that does not have a user-included VRF.
sFlow-forwarding ports can come from ports that belong to any VRF. The port does not have to be in the same VRF as the collector. sFlow collects packets from all sFlow-forwarding ports, even if they do not belong to a VRF, compiles the packets into the sFlow samples, and sends the samples to the particular collector with no filtering for VRF membership.
The
no form of the command configures the management VRF to send the samples to the collector.