White Papers

Table Of Contents
To delete a configured collector, use the no sflow collector {ip-address} agent-addr
{ipv4-address} [number [max-datagram-size number]] | [max-datagram-size
number] command.
Parameters
sflow collector
ip-address
Enter the IPv4 (A.B.C.D) of the sFlow collector device.
agent-addr
ip-
address
Enter the IPv4 (A.B.C.D) of the sFlow agent in the router.
number
(OPTIONAL) Enter the user datagram protocol (UDP) port number. The range is
from 0 to 65535. The default is 6343.
max-datagram-
size
number
(OPTIONAL) Enter the keyword max-datagram-size then the size number in bytes.
The range is from 400 to 1500. The default is 1400.
Defaults Not configured.
Command Modes CONFIGURATION
Supported Modes FullSwitch Mode
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
You can configure up to two sFlow collectors (IPv4 or IPv6). If two collectors are configured, traffic
samples are sent to both.
The sFlow agent address is carried in a field in SFlow packets and is used by the collector to identify the
sFlow agent.
In sFlow, the agent address is a single invariant IPv4 or IPv6 address used to identify the agent to
the collector. It is usually assigned the address of a loopback interface on the agent, which provides
invariance. The agent address is carried as a field in the payload of the sFlow packets.
As part of the sFlow-MIB, if the SNMP request originates from a configured collector, the system returns
the corresponding configured agent IP in the MIB requests. The system checks to ensure that two entries
are not configured for the same collector IP with a different agent IP. Should that happen, the system
generates the following error: %Error: Different agent-addr attempted for an existing
collector.
sflow enable (Global)
Enable sFlow globally.
Syntax
sflow enable
To disable sFlow, use the no sflow enable command.
Defaults Disabled.
Command Modes CONFIGURATION
Supported Modes FullSwitch Mode
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
sFlow is disabled by default. In addition to this command, you must enable sFlow on individual interfaces
where you want sFlow sampling.
1072 sFlow