beautypg.com

4 sflow header-len, 5 sflow data-len, 6 sflow counter-interval – PLANET XGS3-24040 User Manual

Page 806: Sflow header, Sflow data, Sflow counter, Interval

background image

Commands for Reliability Content

53-2

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

53.4 sflow header-len

Command: sflow header-len

no sflow header-len

Function: Configure the length of the head data packet copied in the sFlow data sampling. The “no” form

of this command restores to the default value.

Parameter: is the value of the length with a valid range of 32-256.

Command Mode: Port Mode.

Default: 128 by default.

Usage Guide: If the packet sample can not be identified whether it is IPv4 or IPv6 when sent to the CPU,

certain length of the head of the group has to be copied to the sFlow packet and sent out. The length of

the copied content is configured by this command.

Example: Configure the length of the packet data head copied in the sFlow data sampling to 50.

Switch(Config-If-Ethernet1/2)#sflow header-len 50

53.5 sflow data-len

Command: sflow data-len

no sflow data-len

Function: Configure the max length of the sFlow packet data; the “no sflow data-len” command

restores to the default value.

Parameter: is the value of the length with a value range of 500-1470.

Command Mode: Port Mode.

Default: The value is 1400 by default.

Usage Guide: When combining several samples to a sFlow group to be sent, the length of the group

excluding the MAC head and IP head parts should not exceed the configured value.

Example: Configure the max length of the sFlow packet data to 1000.

switch (Config-If-Ethernet1/2)#sflow data-len 1000

53.6 sflow counter-interval

Command: sflow counter-interval

no sflow counter-interval

Function: Configure the max interval of the sFlow statistic sampling; the “no” form of this command

deletes the statistic sampling interval value.