C613-50631-01 Rev A Command Reference for IE340 Series 3434
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SFLOW COMMANDS
SFLOW
COLLECTOR ID
sflow collector id
Overview Use this command to set the sFlow® agent's collector IP address and optionally the
port and maximum datagram size. 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.
Use the no variant of this command to remove the configuration for that collector
and render it inactive.
Syntax
sflow collector id <1-5> ip <ip-address> [port
<1-65535>|max-datagram-size <200-1500>]
sflow collector id <1-5> ipv6 <ipv6-address> [port
<1-65535>|max-datagram-size <200-1500>]
no sflow collector id <1-5>
Default By default the collector does not exist until configured with a valid IP address.
Mode Global Configuration
Examples To set the address of collector 1 to 192.168.1.36 with default port and
max-datagram size, use the commands:
awplus# configure terminal
awplus(config)# sflow collector id 1 ip 192.168.1.36
To set the address of collector 2 to 12ae::213d::213d::333f and use UDP port 500,
use the commands:
awplus# configure terminal
awplus(config)# sflow collector id 2 ipv6
12ae::213d::213d::333f port 500
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).
max-datagram-size The maximum number of bytes that can be sent in an
sFlow datagram sent from the agent to the collector.
<200-1500> The value set for the max-datagram-size.