xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
941
Chapter 98
sFlow Command List (RI
and EI Mode Only)
create sflow flow_sampler
ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0-
65535> | maxheadersize <value 18-256>}
config sflow flow_sampler
ports [<portlist> | all] {rate <value 0-65535> | maxheadersize <value
18-256>}
delete sflow flow_sampler
ports [<portlist> | all]
create sflow counter_poller
ports [<portlist> | all] analyzer_server_id <value 1-4> {interval
[disable | <sec 20-120>]}
config sflow counter_poller
ports [<portlist> | all] interval [disable | <sec 20-120>]
delete sflow counter_poller
ports [<portlist> | all]
create sflow analyzer_server
<value 1-4> owner <name 16> {timeout [<sec 1-2000000> |
infinite] | collectoraddress <ipaddr> | collectorport <udp_port_number 1-65535> |
maxdatagramsize <value 300-1400>}
config sflow analyzer_server
<value 1-4> {timeout [<sec 1-2000000> | infinite] | collectoraddress
<ipaddr> | collectorport <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>}
delete sflow analyzer_server
<value 1-4>
enable sflow
disable sflow
show sflow
show sflow flow_sampler
show sflow counter_poller
show sflow analyzer_server
98-1
create sflow flow_sampler
Description
This command is used to create the sFlow flow sampler. By configuring the sampling function for a
port, a sample packet received by this port will be encapsulated and forwarded to analyzer server
at the specified interval.
Format
create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {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.
analyzer_server_id
- Specify the ID of a server analyzer where the packet will be forwarded.
<value 1-4>
- Enter the analyzer server ID here. This value must be between 1 and 4.
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
Содержание xStack DGS-3120 Series
Страница 1: ......
Страница 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Страница 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Страница 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Страница 788: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 783 DGS 3120 24TC admin...
Страница 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...