configure sflow agent ipaddress

configure sflow agent {ipaddress} ipaddress

Description

Configures the sFlow agent‘s IP address.

Syntax Description

ipaddress Specifies the IP address from which sFlow data is sent on the switch.

Default

The default configured IP address is 0.0.0.0, but the effective IP address is the management port IP address.

Usage Guidelines

This command allows you to configure the IP address of the sFlow agent. Typically, you would set this to the IP address used to identify the switch in the network management tools that you use. The agent address is stored in the payload of the sFlow data, and is used by the sFlow collector to identify each agent uniquely. The default configured value is 0.0.0.0, but the switch will use the management port IP address if it exists.

Both the commands unconfigure ports monitor vlan and unconfigure sflow agent will reset the agent parameter to the default.

Example

The following command sets the sFlow agent‘s IP address to 10.2.0.1:

configure sflow agent ipaddress 10.2.0.1

History

This command was first available in ExtremeXOS 11.0.

Platform Availability

This command is available on all platforms.