R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
359
sflow source
Use sflow source to specify the source IP address of sFlow packets.
Use undo sflow source to restore the default.
Syntax
sflow source { ip ip-address | ipv6 ipv6-address } *
undo sflow source { ip | ipv6 } *
Default
The source IP address of sent sFlow packets is determined by routing.
Views
System view
Predefined user roles
network-admin
Parameters
ip ip-address: Specifies the source IPv4 address of sFlow packets.
ipv6 ipv6-address: Specifies the source IPv6 address of sFlow packets.
Examples
# Specify the source IPv4 address of sFlow packets as 10.0.0.1.
<Sysname> system-view
[Sysname] sflow source ip 10.0.0.1