D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
258
Example usage:
To delete the sFlow counter poller settings:
DGS-3600:4#delete sflow counter_poller ports all
Command:delete sflow counter_poller ports all
Success.
DGS-3600:4#
show sflow counter_poller
Purpose Used to display the counter poller for the sFlow function of the
switch.
Syntax
show sflow counter_poller
Description This command will allow the user to display the Switch’s counter
poller.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Example usage:
To show the sFlow counter poller settings:
DGS-3600:4#show sflow counter_poller
Command:show sflow counter_poller
Port Analyzer Server ID Polling Interval
-------- ------------------------- -----------------------
1:1 1 20
Total Entries : 1
DGS-3600:4#
create sflow flow_sampler ports
Purpose Used to configure the flow sampler settings for the sFlow function.
Syntax
create sflow flow_sampler ports [<portlist> | all]
analyzer_server_id <value 1-4> {rate <value 0-65535> |
maxheadersize <value 18-256>
Description This command will allow users to configure the Switch’s settings for
taking sample packets from the network, including the sampling rate
and the amount of the packet header to be extracted.
Parameters <portlist> - Use this parameter to set the ports that will be mined for
sFlow information.
all – Use this parameter to set all ports to be mined for sFlow
information.
analyzer_server_id <value 1-4> - Enter a value from 1 to 4 to identify
the sFlow server where this information will be sent.
rate <value 0-65535> - Users can set the rate of packet sampling here.
The value entered here is to be multiplied by 256 to get the percentage
of packets sampled. For example, if the user enters a figure of 20 into
this field, the switch will sample one out of every 5120 packets (20 x
256 = 5120) that pass through the individual port. Users may enter a