xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
942
been sampled that will be encapsulated and forwarded to the server. If not specified, the
default value is 128.
<value 18-256>
- Enter the maximum header size here. This value must be between 18 and
256.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Create sFlow flow sampler:
DGS-3120-24TC:admin# create sflow flow_sampler ports 1 analyzer_server_id 1
rate 1 maxheadersize 18
Command: create sflow flow_sampler ports 1 analyzer_server_id 1 rate 1
maxheadersize 18
Success.
DGS-3120-24TC:admin#
98-2
config sflow flow_sampler
Description
This command is used to configure the sFlow flow sampler parameters. In order to change the
analyzer_server_id, delete the flow_sampler first and create a new one.
Format
config sflow flow_sampler ports [<portlist> | all] {rate <value 0-65535> | maxheadersize
<value 18-256>}
Parameters
ports
- Specify the list of ports to be configured.
<portlist>
- Enter the list of ports that will be used for this configuration here.
all
- Specify all ports on the Switch.
rate
- (Optional) The sampling rate for packet Rx sampling. The configured rate value multiplied
by x is the actual rate, where the x is project dependent with the default value 256. If set to 0,
the sampler is disabled. If the rate is not specified, its default value is 0.
<value 0-65535>
- Enter the sampling rate value here. This value must be between 0 and
65535.
maxheadersize
- (Optional) The maximum number of leading bytes in the packet which has
been sampled that will be encapsulated and forwarded to the server. If not specified, the
default value is 128.
<value 18-256>
- Enter the maximum header size value here. This value must be between 18
and 256.
Restrictions
Only Administrator and Operator-level users can issue this command.
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...