xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1029
Example
To display the sFlow information:
DGS-3620-28SC:admin#show sflow
Command: show sflow
sFlow Version : V5
sFlow Address : 10.90.90.90
sFlow AddressV6: FE80::201:2FF:FE03:400
sFlow State : Enabled
DGS-3620-28SC:admin#
92-4
create sflow flow_sampler ports
Description
This command is used to create the sFlow flow sampler.
Format
create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value
0-65535> | tx_rate <value 0-65535> | maxheadersize <value 18-256>}
Parameters
<portlist>
- Enter the list of ports to be configured.
all
- Specifies to configure all ports.
analyzer_server_id
- Specifies the ID of an analyzer server where the packet will be forwarded.
<value 1-4>
- Enter the ID of an analyzer server where the packet will be forwarded.
rate
- (Optional) Specify the sampling rate for packet sampling.
<value 0-65535>
- Enter the sampling rate for packet sampling. The configured rate value
multiplied by 256 is the actual rate. For example, if the rate is 20, the actual rate 5120. One
packet will be sampled from every 5120 packets. If set to 0, the sampler is disabled. If the
rate is not specified, its default value is 0.
tx_rate
– Specifies the transmit rate.
<value 0-65535>
- Enter the transmit rate used here. This value must be between 0 and
65535.
maxheadersize
- (Optional) Specify the maximum number of leading bytes in the packet which
has been sampled that will be encapsulated and forwarded to the server.
<value 18-256>
- Enter 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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To create the sFlow flow sampler:
DGS-3620-28SC:admin#create sflow flow_sampler ports 1 analyzer_server_id 1 rate
Summary of Contents for xStack
Page 1: ......
Page 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Page 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Page 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Page 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...