DGS-6604
m
sflow receiver
CLI Reference Guide
567
sflow receiver
Use the
sflow receiver
command to configure a Receiver for the sFlow agent.
Receivers cannot be added to or removed from the sFlow agent. Use the
no
form of this command to reset one Receiver or all Receivers to the default
settings.
sflow receiver
INDEX
[owner
NAME
] [expiry {
SECONDS
| infinite}] [max-datagram-size
SIZE
]
[host {
IP-ADDRESS|IPV6-ADDRESS
}] [udp-port
PORT
]
no sflow receiver [
INDEX
]
Default
The default owner name is an empty string
Expiry timer is 0 second
Max datagram size is 1400 bytes
Receiver IP address is 0.0.0.0
UDP port number is 6343
Command Mode
Global configuration mode
Usage Guideline
The sFlow agent has a fix number of Receivers distinguished by INDEX. They
are created in reset state by system and cannot be removed.
The user must configure the owner of an entry before configuring other
parameters of the entry. The owner of an entry can only be configured when the
entry is in reset state. The user can not configure the owner name as an empty
string. Once the owner is configured, it cannot be changed directly. It can only be
reset by the
no sflow
receiver
command.
Syntax Description
INDEX
Index of the Receivers. The Maximum number is project dependant.
owner
NAME
(Optional) Specify the owner name of the Receiver. It can accept up to 32
characters. The syntax is a general string that does not allow spaces. The user
can not directly configure the owner as an empty string.
expiry
SECONDS
(Optional) Specify the expiration time for the entry. The parameter of the entry
will be reset when the timer expires. The range is from 0 to 2000000. The expiry
timer cannot be directly configured as 0.
infinite
(Optional) The entry will not be expired.
max-datagram-size
SIZE
(Optional) Specify the maximum number of data bytes of a single sFlow
datagram. The valid range is from 700 to 1400.
host
IP-ADDRESS
(Optional) The IPv4 address of the remote sFlow collector.
IPV6-ADDRESS
(Optional) The IPv6 address of the remote sFlow collector. It does not support
IPv6 link local addresses.
udp-port
PORT
(optional) The UDP port of the remote sFlow collector, the default is 6343, and
the range is from 1 to 65535.