Sflow destination, Sflow max-header-size – LevelOne FGL-2870 User Manual

Page 472

Advertising
background image

Command Line Interface

4-106

4

Example
This example sets the time out to 1000 seconds.

sflow destination

This command configures the IP address and UDP port used by the Collector. Use
the no form to restore the default settings.

Syntax

sflow destination ipv4 ip-address [destination-udp-port]
no sflow destination

ip-address - IP address of the sFlow Collector.
destination-udp-port - The UDP port on which the Collector is listening for

sFlow streams. (Range: 0-65534)

Default Setting

IP Address: null
UDP Port: 6343

Command Mode

Interface Configuration (Ethernet)

Example
This example configures the Collector’s IP address, and uses the default UDP port.

sflow max-header-size

This command configures the maximum size of the sFlow datagram header. Use the
no form to restore the default setting.

Syntax

sflow max-header-size max-header-size
no max-header-size

max-header-size - The maximum size of the sFlow datagram header.
(Range: 64-256 bytes)

Default Setting

128 bytes

Command Mode

Interface Configuration (Ethernet)

Console(config)#interface ethernet 1/9
Console(config-if)#sflow timeout 10000
Console(config-if)#

Console(config)#interface ethernet 1/9
Console(config-if)#sflow destination ipv4 192.168.0.4
Console(config-if)#

Advertising