3.34.1 sFlow Agent/Receiver Configuration
Use this command to specify the IP address used as Agent IP address in sFlow datagrams. It serves as a unique key that identifies this agent over extended periods of time. Configure the sFlow receiver, port, timeout and datagram size.
Command Syntax:
sflow agent-ip { ipv4 <v_ipv4_addr> | ipv6 <v_ipv6_addr> }
sflow collector-address [ <ipv4_var> | <ipv6_var> | <domain_name> ]
sflow collector-port <collector_port>
sflow timeout <timeout>
sflow max-datagram-size <datagram_size>
Argument | Description | |
Parameter |
| The IP address used as Agent IP address in sFlow datagrams. It serves as a unique key that identifies this agent over extended periods of time. Both IPv4 and IPv6 addresses are supported. Defaults to IPv4 loopback address 127.0.0.1. |
| The IP address or hostname of the sFlow receiver. Both IPv4 and IPv6 addresses are supported. | |
| The UDP port on which the sFlow receiver listens to sFlow datagrams. If set to 0 (zero), the default port (6343) is used. | |
| The number of seconds remaining before sampling stops and the current sFlow owner is released. Valid range is 0 to 2147483647 seconds with default 0 seconds. | |
| The maximum number of data bytes that can be sent in a single sample datagram. Valid range is 200 to 1468 bytes with default 1400 bytes. | |
Default | N.A. | |
Mode | Global Configuration mode | |
Usage | Configure sFlow Agent/Receiver parameters. To revert to the default values, use the ‘no’ version of the command. | |
Example | Example 1: Set sFlow receiver address 192.168.0.40, UDP port to 6232.
|