Commands
sflow collector
Syntax
Parameters
Defaults
Command Modes
Command
History
Usage
Information
572
|
sFlow
The sFlow commands are:
•
sflow collector
•
sflow enable (Global)
•
sflow enable (Interface)
•
sflow extended-switch enable
•
sflow polling-interval (Global)
•
sflow polling-interval (Interface)
•
sflow sample-rate (Global)
•
sflow sample-rate (Interface)
•
show sflow
•
show sflow stack-unit
Configure a collector device to which sFlow datagrams are forwarded.
sflow collector { ipv4-address } agent-addr { ipv4-address } [ number [ max-datagram-size
number
]] | [ max-datagram-size
To delete a configured collector, use the no sflow collector {
{
ipv4-address
} [
number
[ max-datagram-size
sflow collector ipv4-address
agent-addr ipv4-address
number
max-datagram-size number
Not configured
CONFIGURATION
Version 8.3.16.1
Introduced on MXL 10/40GbE Switch IO Module
You can configure up to two sFlow collectors (IPv4). 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.
number
]
number
]] | [ max-datagram-size
Enter the IPv4 (A.B.C.D) of the sFlow collector device.
Enter the IPv4 (A.B.C.D) of the sFlow agent in the router.
(OPTIONAL) Enter the UDP port number (User Datagram
Protocol).
Range: 0 to 65535
Default: 6343
(OPTIONAL) Enter the keyword
followed by the size number in bytes.
Range: 400 to 1500
Default: 1400
ipv4-address
} agent-addr
number
max-datagram-size
] command.