Configuring Counter Sampling; Displaying And Maintaining Sflow; Sflow Configuration Example; Network Requirements - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Step
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 performs
the following tasks:
1.
Periodically collects the counter information on that interface.
2.
Encapsulates the counter information into sFlow packets.
3.
Encapsulates the sFlow packets in the UDP packets and sends the UDP packets to the
specified sFlow collector.
To configure counter sampling:
Step
1.
Enter system view.
2.
Enter Layer 2 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.
Task
Display sFlow configuration.

sFlow configuration example

Network requirements

As shown in
Command
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
Figure
65, perform the following tasks:
Command
display sflow
187
Remarks
By default, no flow sampling rate
is configured.
The default setting is 128 bytes.
As a best practice, use the default
setting.
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

Table of Contents