An sFlow agent address provides the SNMP connectivity to the agent in accordance with the sFlowAgentAddress definition in the sFlow RFC. You can configure the sFlow agent address similar to the source IP configuration instead of using the default agent address, which is set to the IPv4 address of the management port of the active management module. Use the sflow agent- address command to configure the sFlow agent IPv4 or IPv6 address.
Use the following steps to configure the sFlow agent address.
Note
If the sFlow agent address is not configured, or if sFlow agent address configuration is removed or when the IP address of a specified interface corresponding to the specified agent-address IP address type is not configured, the IPv4 address of the management port of the active management module will be used.From the global configuration mode, use the sflow agent-address to configure the sFlow agent address.
device# configure terminal (device-config)# sflow agent-address ipv4 ethernet 2/5Use the no sflow agent-addres command to removed the sFlow agent address configuration.
(device-config)# no sflow agent-address
The sFlow agent address feature has the following limitations.