xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
260
config sflow flow_sampler ports
maxheadersize <value 18-256>
- This field will set the number of
leading bytes of the sampled packet header. This sampled header
will be encapsulated with the datagram to be forwarded to the
Analyzer Server. The user may set a value between
18
and 256
bytes. The default setting is
128
bytes.
Restrictions Only
administrator-level
and operator-level users can issue this
command.
Example usage:
To configure the sflow flow sampler:
DGS-3627:5#config sflow flow_sampler ports 1 rate 20000 maxheadersize 128
Command: config sflow flow_sampler ports 1 rate 20000 maxheadersize 128
Success.
DGS-3627:5#
delete sflow flow_sampler ports
Purpose
Used to delete the flow sampler for the sFlow function of the switch.
Syntax
delete sflow
sflow_sampler ports
[<portlist> | all]
Description
This command will allow the user to delete the Switch’s flow sampler
settings.
Parameters
<portlist>
- Use this parameter to delete the ports that will be mined
for sFlow information.
all
– Use this parameter to delete all ports to be mined for sFlow
information.
Restrictions Only
administrator-level
and operator-level users can issue this
command.
Example usage:
To delete the sFlow flow sampler settings:
DGS-3627:5#delete sflow flow sampler ports all
Command: delete sflow flow sampler ports all
Success.
DGS-3627:5#