C613-50100-01 REV C Command Reference for x930 Series 3068
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
SFLOW COMMANDS
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).