Before configuring sFlow, complete the following tasks:
The system view is displayed.
The sFlow view is displayed.
A source IP address is configured for sFlow packets sent by an sFlow agent.
The specified IP address of an sFlow agent must be a valid unicast address that has been configured on the device interface. If an IPv6 address is specified, the IPv6 address must be a global unicast address, but not a link-local address.
An sFlow agent is disabled from collecting routing information.
An sFlow collector is created.
A maximum of two sFlow collectors can be configured in the system.
A destination address is specified for sFlow packets.
The maximum length is configured for sFlow packets.
The configuration is committed.