sFlow configuration task list
Task
Configuring the sFlow agent and sFlow collector
Configuring flow sampling
Configuring counter sampling
Configuring the sFlow agent and sFlow collector
Step
1.
Enter system
view.
2.
Specify the IP
address for the
sFlow agent.
3.
Configure the
sFlow collector.
4.
Specify the
source IP
address of sent
sFlow packets.
Configuring flow sampling
Step
1.
Enter system view.
Command
system-view
sflow agent { ip ip-address | ipv6
ipv6-address }
sflow collector collector-id
{ [ vpn-instance vpn-instance-name ]
{ ip ip-address | ipv6 ipv6-address }
| datagram-size size | description
text | port port-number | time-out
seconds } *
sflow source { ip ip-address | ipv6
ipv6-address } *
Command
system-view
158
Remarks
Required.
Perform at least one of the tasks.
Remarks
N/A
Optional
Not specified by default. The device
periodically checks the existence of the sFlow
agent address. If the sFlow agent has no IP
address configured, the device automatically
selects an interface IP address for the sFlow
agent but does not save the selected IP address.
NOTE:
•
HP recommends configuring an IP address
manually for the sFlow agent.
•
Only one IP address can be specified for the
sFlow agent on the device.
By default, the device presets a number of sFlow
collectors.
Use the display sflow command to display the
parameters of the preset sFlow collectors.
Only the HP 5500 EI supports the vpn-instance
keyword.
Optional
Not specified by default.
Remarks
N/A