Sflow collector (address) – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 2100
sFlow Commands
Software Reference for x310 Series Switches
81.6
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
sflow collector (address)
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:
To remove the sFlow collector IPv4 address and leave the UDP port unchanged, use the
command:
To remove the sFlow collector IPv4 address and to remove the UDP port, use the
command:
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).
awplus#
configure terminal
awplus(config)#
sflow collector ip 192.0.2.25 port 9000
awplus#
configure terminal
awplus(config)#
no sflow collector ip
awplus#
configure terminal
awplus(config)#
no sflow collector ip port