sflow agent-address

Configures the sFlow agent-ID address.

Syntax

sflow agent-address { ipv4 | ipv6 [ ethernet slot/plot | loopback loopback-number | management mgmt-id | ve ve-inteface ] }
no sflow agent-address

Command Default

By default the sflow agent address is not configured.

Parameters

ipv4
Specifies an agent-address configuration for IPv4 collectors.
ipv6
Specifies an agent-address configuration for IPv6 collectors.
ethernet slot/plot
Specifies an Ethernet slot and port. The only supported slot value on the fixed form factor SLX devices is 0.
loopback loopback-number
Specifies a loopback interface. Valid values range from 1 through 255.
management mgmt-id
Specifies the management interface. The only supported value is 0.
ve ve-inteface

Specifies a virtual Ethernet (VE) interface. Valid values range from 1 through 4096.

Modes

Global configuration mode

Usage Guidelines

Use the no form of this command to remove the sFlow agent address configuration.

Examples

The following example configures the sFlow agent-address globally. That is, it applies to all IPv4 collectors.

device# configure terminal
device(config)# sflow agent-address ipv4 ethernet 0/5