sFlow agent address

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.

Configuring sFlow agent address

Use the following steps to configure the sFlow agent address.

Note

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/5
Use the no sflow agent-addres command to removed the sFlow agent address configuration.
(device-config)# no sflow agent-address

Limitations and restrictions

The sFlow agent address feature has the following limitations.

  • The show sflow command displays the IP address of the selected interface for agent-address field. It does not display the specified interface for agent-address field. Use the show running-config command to display the agent address interface information.