C613-50057-01 REV A
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
1839
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
S
F
LOW
C
OMMANDS
SFLOW
COLLECTOR
(
ADDRESS
)
sflow collector (address)
Overview
This command sets the sFlow® agent's collector IP address and/or UDP port. This is
the destination IP address and UDP port, for sFlow datagrams sent from the sFlow
agent. The IP address can be any valid IPv4 or IPv6 address. Note that sFlow is
rendered inactive whenever the collector address is set to 0.0.0.0 (for IPv4) or
::
(for IPv6).
The
no
variant of this command returns the IP address and UDP port values to their
defaults, which will result in sFlow being deactivated.
Syntax
sflow collector {[ip <
ip-address
>|ipv6 <
ipv6-address
>]|[port
<
1-65535
>]}
no sflow collector {[ip|ipv6]|[port]}
Default
The collector address is
0.0.0.0
(which renders sFlow inactive), and the UDP
port is
6343
.
Mode
Global Configuration
Examples
To set the sFlow collector address to
1920.2.25
and UDP port to
9000
, use the
command:
awplus#
configure terminal
awplus(config)#
sflow collector ip 192.0.2.25 port 9000
To remove the sFlow collector IPv4 address and leave the UDP port unchanged,
use the command:
awplus#
configure terminal
awplus(config)#
no sflow collector ip
To remove the sFlow collector IPv4 address and to remove the UDP port, use the
command:
awplus#
configure terminal
awplus(config)#
no sflow collector ip port
Parameter
Description
<
ip-address
>
IPv4 address of the remote sFlow collector.
<
ipv6-address
>
IPv6 address of remote sFlow collector.
The IPv6 address uses the format X:X::X:X.
port
Destination UDP port for sFlow datagrams sent to the
collector.
<
1-65535
>
UDP port number (default: 6343).