sflow collector
Use this command to configure the collector details such as the collector IPv4 address, port number, receiver time-out and datagram size.
Use the no form of this command to disable the sFlow collector.
Command Syntax
sflow collector A.B.C.D port <1024-65535> receiver-time-out <0-2147483647> max-datagram-size <200-9000>
no sflow collector (A.B.C.D port <1024-65535>|)
Parameter
A.B.C.D
Collector IPv4 address. This address must be reachable via the management VRF.
<1024-65535>
Collector UDP Port number. The standard sFlow UDP port: 6343
<0-2147483647>
Receiver time out value in seconds. Zero means no timeout. Upon timeout, value collector information is removed, stopping any ongoing sampling.
<200-9000>
Maximum datagram size in bytes that can be sent to the collector
Default
By default, the sFlow collector is disabled. The default port number is 6343.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#sflow collector 2.2.2.2 port 1111 receiver time-out 30 max-datagram-size 500
(config)#no sflow collector
Last modified date: 08/28/2023