8 sflow rate, Sflow rate – PLANET XGS3-24042 User Manual
Page 1121
67-5
Command Mode:
Global Mode.
Default:
The default value is 0.
Usage Guide:
When sample packet is sent to the CPU, it is recommended not to assign high priority for the packet
so that regular receiving and sending of other protocol packet will not be interfered. The higher the
priority value is set, the higher its priority will be.
Example:
Configure the priority when sFlow receives packet from the hardware at global mode.
switch (config)#sflow priority 1
67.8 sflow rate
Command:
sflow rate { input
no sflow rate [input | output]
Function:
Configure the sample rate of the sFlow hardware sampling. The “no” form of this command deletes
the sampling rate value.
Parameter:
Command Mode:
Port Mode.
Default:
No default value.
Usage Guide:
The traffic sampling will not be performed if the sampling rate is not configured on the port. And if
the ingress group sampling rate is set to 10000, this indicates there will be one group be sampled
every 10000 ingress groups.
Example:
Configure the ingress sample rate on port e1/0/1 to 10000 and the egress sample rate to 20000.
Switch(Config-If-Ethernet1/0/1)#sflow rate input 10000
Switch(Config-If-Ethernet1/0/1)#sflow rate output 20000