EasyManua.ls Logo

HPE FlexNetwork 5130 HI SERIES

HPE FlexNetwork 5130 HI SERIES
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
324
Parameters
length: Specifies the maximum number of bytes that can be copied, in the range of 18 to 512. As a
best practice, use the default value.
Examples
# Set the maximum number of bytes to 60 for flow sampling to copy per packet on GigabitEthernet
1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] 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 random
undo sflow sampling-mode
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
random: Specifies the random sampling mode. For example, if the packet sampling interval is set to
4000 (by using the sflow sampling-rate command), the device samples packets randomly as
follows:
The device might sample one packet from the first 4000 packets.
The device might sample multiple packets from the next 4000 packets.
The device might sample no packets from the third 4000 packets.
However, the device samples one packet from 4000 packets on average.
Examples
# Specify random flow sampling mode on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] sflow sampling-mode random
Related commands
sflow sampling-rate
sflow sampling-rate
Use sflow sampling-rate to enable flow sampling and specify the number of packets out of which
flow sampling will sample a packet.
Use undo sflow sampling-rate to disable flow sampling.

Table of Contents

Other manuals for HPE FlexNetwork 5130 HI SERIES

Related product manuals