Celestica Documentation Portal

Find your product documents here

SFLOW agent-id

Configures the interface name whose IPv4 or IPv6 address will be used as the agent-id in sFlow datagrams. Upon removal, default agent-id will be elected based on the election process.

Syntaxsflow agent-id {Ethernet <intf-num> | Loopback <lo-intf-num> | Vlan <vlan-id>}
Command mode CONFIG
Parameters
  • intf-num – Ethernet interface number.

  • lo-intf-num – Loopback interface number. Range: 0 – 16383.

  • vlan-id – VLAN ID. Range: 1 – 4094.

UsageUse no sflow agent-id to remove agent-id config.
Supported Releases 1.0.0 or later
Click commandconfig sflow agent-id add <interface_name>
Example
sonic(config)# sflow agent-id Ethernet 7