DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
545
This example shows how to configure the receiver of index 1 with the owner name of collector1, a
timeout value of 86400 seconds, size
as 1400 bytes, remote sFlow collector’s IP address as 10.1.1.2,
and port number of 6343.
Switch# configure terminal
Switch(config)# sflow receiver 1 owner collector1 expiry 86400 max-datagram-size
1400 host 10.1.1.2 udp-port 6343
switch(config)#
62-2
sflow sampler
This command is used to create or configure a sampler for the sFlow agent. Use the
no
form of this
command to delete one sampler.
sflow sampler
INSTANCE
[receiver
RECEIVER
] [inbound | outbound] [sampling-rate
RATE
]
[max-header-size
SIZE
]
no sflow sampler
INSTANCE
Parameters
INSTANCE
Specifies the instance index if multiple samplers are associated with
one interface. The valid range is from 1 to 65535.
receiver
RECEIVER
(Optional) Specifies the r
eceiver’s index for this sampler. If not
specified, the value is 0. The user cannot configure the value to 0.
inbound
(Optional) Specifies to sample ingress packets. This is the default
direction of a sampler.
outbound
(Optional) Specifies to sample egress packets.
sampling-rate
RATE
(Optional) Specifies the rate for packet sampling. The range is from
0 to 65536. 0 means disable. If not specified, the default value is 0.
max-header-size
SIZE
(Optional) Specifies the maximum number of bytes that should be
copied from sampled packets. The range is from 18 to 256. If not
specified, the default value is 128.
Default
By default, no sampler is created.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command without keywords to create a default sampler or to reset an existing sampler to
default values. Use the
no
form of this command with an instance to delete one sampler.
The user can only specify a receiver that has its owner name setup. If the receiver associated with the
sampler has its owner name reset, the sampler will be reset to the default setting. The receiver ID of a
default sampler is 0.
The user can configure an instance’s mode to either inbound or outbound. If not specified, the default
mode is inbound which will monitor the ingress packets.
An interface can be configured with multiple samplers. If multiple samplers are configured, the
configured sampling rate can be different. But the sampling rate of all other samplers in the same
direction must be multiples in power of 2 of the minimal configured sampling rate.
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...