System information

C613-10501-01-REV B Software Release Note AlliedWare Plus Version 5.3.4-0.1 27
sflow agent (address)
This command sets the sFlow® agent IP address on the switch. This address is inserted into
every sFlow datagram sent from the sFlow agent switch to the sFlow collector device. The
sFlow collector can then uses this address to uniquely identify and to access the switch, such as
for SNMP. We therefore recommend that you change this address as little as possible.
Although the agent address can be set to any valid IPv4 or IPv6 address; we recommended that
you set the sFlow® agent IP address to be the local address
1
that is configured on the switch.
This ensures that the sFlow collector can maintain connectivity to the switch irrespective of the
addition or deletion of VLAN interfaces (each of which will have its own specific IP address).
Note that sFlow is rendered inactive whenever the agent address is not set.
1. For information on local addresses and how to set them up, see the interface (to configure)
command on page 12.3.
The no variant of this command applies its default setting.
Syntax sflow agent {ip <ip-address>|ipv6 <ipv6-address>}
no sflow agent {ip <ip-address>|ipv6 <ipv6-address>}
Default The sFlow agent address is unset.
Mode Global Configuration
Examples To set the sFlow agent (IPv4) address to 192.0.2.23, use the command:
To set the sFlow agent (IPv6) address to 2001:0db8::1, use the command:
Related Commands show running-config sflow
show sflow
Parameter Description
<
ip-address>
The IPv4 address of the switch that is acting as the sFlow agent.
<ipv6-address>
The IPv6 address of the switch that is acting as the sFlow agent.
The IPv6 address uses the format X:X::X:X.
awplus#
configure terminal
awplus(config)#
sflow agent ip 192.0.2.23
awplus#
configure terminal
awplus(config)#
sflow agent ipv6 2001:0db8::1