Configuring Counter Sampling; Displaying And Maintaining Sflow - HP 5920 Configuration Manual

Table of Contents

Advertisement

Step
3.
(Optional.) Set the flow
sampling mode.
4.
Enable flow sampling and
specify the number of packets
out of which flow sampling
samples a packet on the
interface.
5.
(Optional.) Set the maximum
number of bytes (starting from
the packet header) that flow
sampling can copy per
packet.
6.
Specify the sFlow collector for
flow sampling.

Configuring counter sampling

Perform this task to configure counter sampling on an Ethernet interface. The sFlow agent does the
following:
Periodically collects the counter information on that interface.
Encapsulates the information into sFlow packets.
Sends them in UDP packets to the specified sFlow collector.
To configure counter sampling:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 3
Ethernet interface view.
3.
Enable counter sampling and
set the counter sampling
interval.
4.
Specify the sFlow collector for
counter sampling.

Displaying and maintaining sFlow

Execute display commands in any view.
Command
sflow sampling-mode { determine
| random }
sflow sampling-rate rate
sflow flow max-header length
sflow flow collector collector-id
Command
system-view
interface interface-type
interface-number
sflow counter interval interval-time
sflow counter collector collector-id
201
Remarks
The default setting is random.
The determine keyword is not
supported in the current software
version. It is reserved for future
support.
By default, no flow sampling rate is
configured.
The default setting is 128 bytes.
HP recommends the default.
By default, no sFlow collector is
specified for flow sampling.
Remarks
N/A
N/A
By default, counter sampling is
disabled.
By default, no sFlow collector is
specified for counter sampling.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents