Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
551
Mellanox Technologies Confidential
agent-ip
agent-ip {<ip-address> | interface {<if-name> | vlan <id> | loopback <number>}}
no agent-ip
Sets the IP address associated with this agent.
The no form of the command resets the parameters to their default values.
Syntax Description loopback <number> Loopback interface. The range is 1-32.
if-name Interface name (e.g. mgmt0, mgmt1).
vlan <id> Interface VLAN. Range is 1-4094
ip-address The sFlow agent’s IP address (i.e. the source IP of the
packet).
Default ip-address: 0.0.0.0
Configuration Mode Config sFlow
History 3.3.3500
Role admin
Example
switch (config sflow) # agent-ip 20.20.20.20
switch (config sflow) #
Related Commands
Note The IP address here is used in the sFlow header.