Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

sflow collector

Configure a collector device to which sFlow datagrams are forwarded.

Syntax
sflow collector {ip-address | ipv6-address} agent-addr {ip-address | ipv6-address} [number [max-datagram-size number]] | [max-datagram-size number] [vrf management]

To delete a configured collector, use the no sflow collector {ip-address | ipv6-address} agent-addr {ipv4-address | ipv6-address} [number [max-datagram-size number]] | [max-datagram-size number] [vrf management] command.

Parameters
sflow collector ip-address | ipv6-address
Enter the IP address of the collector in dotted decimal format for IPv4 or x:x:x:x::x format for IPv6.
NOTE: The :: notation specifies successive hexadecimal fields of zeros.
agent-addr ip-address | ipv6-address
Enter the keyword agent-addr followed by the sFlow agent IP address in dotted decimal format for IPv4 or x:x:x:x::x format for IPv6.
NOTE: The :: notation specifies successive hexadecimal fields of zeros.
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.
vrf management
(OPTIONAL) Enter the keyword vrf followed by the keyword management to configure the collector device corresponding to the default VRF and the management VRF respectively.
Defaults
Not configured.
Command Modes
CONFIGURATION
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100-ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.4.(0.0)
Added support for VRF.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.4.2.3
Added support for IPv6 sFlow collectors and agents on the E-series, C-Series, and S-Series.
8.4.1.1
Added support for IPv6 sFlow collectors and agents on the E-series.
8.3.7.0
Introduced on the S4810.
8.2.1.0
Introduced S-Series Stacking.
8.1.1.0
Introduced on the E-Series.
7.7.1.0
Introduced on the S-Series.
7.6.1.0
Introduced on the C-Series.
6.5.1.0
Expanded the no form of the command to mirror the syntax used to configure.
6.2.1.1
Introduced on the E-Series.
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, Dell EMC Networking OS returns the corresponding configured agent IP in the MIB requests. Dell EMC Networking OS checks to ensure that two entries are not configured for the same collector IP with a different agent IP. Should that happen, Dell EMC Networking OS generates the following error: %Error: Different agent-addr attempted for an existing collector.

Example
DellEMC(conf)# sflow collector 10.1.1.25 agent-addr 10.1.1.10 vrf management 

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\