Sflow Sampling-Mode - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

undo sflow flow max-header
Default
Flow sampling can copy up to 128 bytes of a packet.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
length: Specifies the maximum number of bytes that can be copied, in the range of 18 to 512. HP
recommends that you use the default.
Examples
# Set the maximum number of bytes that can be copied to 60 on Ten-GigabitEthernet 1/1/5.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] sflow flow max-header 60

sflow sampling-mode

Use sflow sampling-mode to specify a flow sampling mode.
Use undo sflow sampling-mode to restore the default.
Syntax
sflow sampling-mode { determine | random }
undo sflow sampling-mode
Default
The sampling mode is random.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
determine: Specifies the fixed sampling mode. For example, if the flow sampling interval is set to 4000
(by using the sflow sampling-rate command), the device randomly samples a packet, like the tenth
packet, from the first 4000 packets. The next time the device samples the 4010th packet, and so on. At
present, the determine sampling mode is not supported.
random: Specifies the random sampling mode. For example, if the packet sampling interval is set to
4000, the device may sample one packet from the first 4000 packets, multiple packets from the next
4000 packets, and none from the third 4000 packets, randomly. But generally the device samples one
packet from 4000 packets on the average.
Examples
# Specify fixed flow sampling mode on Ten-GigabitEthernet 1/1/5.
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents