xStack
create sflow flow_sampler
Restrictions
Example usage:
Create sFlow flow sampler:
DGS-3450: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-3450:admin#
config sflow flow_sampler
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
Configure the sFlow sampler the rate of port 1 to be 0:
DGS-3450:admin# config sflow flow_sampler ports 1 rate 0 tx_rate 1
Command: config sflow flow_sampler ports 1 rate 0 tx_rate 1
Success.
DGS-3450:admin#
delete sflow flow_sampler
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
value is 128
Only Administrator and Operator-level users can issue this command.
Used to config the sFlow flow_sampler parameters.
config sflow flow_sampler ports [<portlist> | all] {rate <value 0-65535> | tx_rate <value
0-65535> | maxheadersize <value 18-256>}(1)
Configures the sFlow flow sampler parameters. In order to change the analyzer_server_id,
first delete the flow_sampler and create a new one.
ports - Specifies the list of ports to be configured.
rate - The sampling rate for packet Rx sampling.
tx_rate - The sampling rate for packet Tx sampling.
maxheadersize - 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.
Only Administrator and Operator-level users can issue this command.
Used to delete the sFlow flow_sampler.
delete sflow flow_sampler ports [<portlist> | all]
Used to delete the sFlow flow_sampler.
ports - Specifies the list of ports to be configured.
Only Administrator and Operator-level users can issue this command.
452