OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

sflow collector

Configures an sFlow collector IP address to which sFlow datagrams are forwarded to. You can configure a maximum of two collectors.

Syntax
sflow collector { ipv4-address | ipv6-address} agent-addr { ipv4-address | ipv6-address} [ collector-port-number] [max-datagram-size datagram-size-number] [vrf default]
Parameters
  • ipv4-address | ipv6-address — Enter an IPv4 or IPv6 address in A.B.C.D/A::B format.
  • agent-addr ipv4-address | ipv6-address — Enter the sFlow agent IP address. If you are configuring two collectors, the agent IP address must be the same for both the collectors.
  • collector-port-number — (Optional) Enter the UDP port number, from 1 to 65535. The default is 6343.
  • max-datagram-size datagram-size-number — (Optional) Enter max-datagram-size then the size number in bytes, from 400 to 1500. The default is 1400.
  • vrf — (Optional) Enter default to configure the sFlow collector corresponding to the front panel ports.
Defaults
Not configured
Command Modes
CONFIGURATION
Usage Information

You must enter a valid and reachable IPv4 or IPv6 address. If you configure two collectors, traffic samples are sent to both. The sFlow agent address is the IPv4 or IPv6 address used to identify the agent to the collector. The no version of this command removes the configured sFlow collector.

Example
OS10(conf)# sflow collector 10.1.1.1 agent-addr 2.2.2.2 6343
                                        max-datagram-size 1500 vrf default
                                    
Supported Releases
10.3.0E or later

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: <>()\