Sflow Sampling-Rate - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

random: Specifies the random sampling mode. For example, if the packet sampling rate is set to 4000,
the device may sample one packet from the first 4000 packets, two 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.
Usage guidelines
This command is supported on physical Ethernet interfaces only, instead of logical interfaces (Ethernet
subinterfaces and VLAN interfaces) and network management interfaces.
Examples
# Specify the fixed sample mode on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] sflow sampling-mode determine
Related commands

sflow sampling-rate

sflow sampling-rate
Use sflow sampling-rate to specify the number of packets out of which flow sampling will sample a
packet on an interface.
Use undo sflow sampling-rate to disable sampling.
Syntax
sflow sampling-rate rate
undo sflow sampling-rate
Views
Interface view
Default command level
2: System level
Parameters
rate: Specifies the number of packets out of which flow sampling will sample a packet on the interface.
The value range is 1000 to 500000.
Usage guidelines
This command is supported on Ethernet interfaces only, instead of logical interfaces (such as Ethernet
subinterfaces and VLAN interfaces) and network management interfaces.
The bigger the value of the interval argument, the lower the sampling rate. On the other hand, the smaller
the value, the higher the sampling rate.
Examples
# Set GigabitEthernet 4/0/1 to sample a packet out of 4000 packets.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] sflow sampling-rate 4000
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents