Configuring The Sflow Agent And Sflow Collector Information; Configuring Flow Sampling - HP 5920 Configuration Manual

Table of Contents

Advertisement

Configuring the sFlow agent and sFlow collector
information
Step
1.
Enter system view.
2.
(Optional.)
Configure an IP
address for the
sFlow agent.
3.
Configure the
sFlow collector
information.
4.
(Optional.) Specify
the source IP
address of sFlow
packets.

Configuring flow sampling

Perform this task to configure flow sampling on an Ethernet interface. The sFlow agent does the following:
Samples packets on that interface according to the configured parameters.
Encapsulates them into sFlow packets.
Sends them in UDP packets to the specified sFlow collector.
To configure flow sampling:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 3
Ethernet interface 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 } [ port
port-number | datagram-size
size | time-out seconds |
description text ] *
sflow source { ip ip-address |
ipv6 ipv6-address } *
Command
system-view
interface interface-type
interface-number
200
Remarks
N/A
By default, no IP address is configured for the
sFlow agent. The device periodically checks
whether the sFlow agent has an IP address. If not,
the device automatically selects an IPv4 address
for the sFlow agent but does not save the IPv4
address in the configuration file.
NOTE:
HP recommends that you manually configure
an IP address for the sFlow agent.
Only one IP address can be configured for the
sFlow agent on the device, and a newly
configured IP address overwrites the existing
one.
By default, no sFlow collector information is
configured.
By default, the source IP address is determined by
routing.
Remarks
N/A
N/A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents