sflow collector
Configure a collector device to which sFlow datagrams are forwarded.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
sflow collector {ipv4-address | ipv6-address} agent-addr {ipv4-
address | ipv6-address} [number [max-datagram-size number]] |
[max-datagram-size number]
To delete a configured collector, use the no sflow collector {ipv4-address |
ipv6-address} agent-addr {ipv4-address | ipv6-address} [number
[max-datagram-size number]] | [max-datagram-size number] command.
Parameters
sflow collector
ipv4-address
|
ipv6-address
Enter the IPv4 (A.B.C.D) or IPv6 address (X:X:X:X::X) of the sFlow
collector device.
agent-addr
ipv4-
address
|
ipv6-
address
Enter the IPv4 (A.B.C.D) or IPv6 address (X:X:X:X::X) of the sFlow
agent in the router.
number
(OPTIONAL) Enter the user datagram protocol (UDP) port number. The
range is 0 to 65535. The default is 6343.
max-datagram-
size
number
(OPTIONAL) Enter the keyword max-datagram-size followed by the
size number in bytes. The range is 400 to 1500. The default is 1400.
Defaults Not configured.
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.4.2.3 Added support for IPv6 sFlow collectors and agents on the E-series
TeraScale, C-Series, and S-Series.
Version 8.4.1.1 Added support for IPv6 sFlow collectors and agents on the E-series
ExaScale.
Version 8.3.7.0 Introduced on the S4810.
Version 8.2.1.0 Introduced S-Series Stacking.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.7.1.0 Introduced on the S-Series.
Version 7.6.1.0 Introduced on the C-Series.
Version 6.5.1.0 Expanded the no form of the command to mirror the syntax used to
configure.
Version 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.
1350