Sflow destination – LevelOne GTL-2691 User Manual

Page 856

Advertising
background image

C

HAPTER

27

| Flow Sampling Commands

– 856 –

C

OMMAND

U

SAGE

Flow sampling must be enabled globally on the switch, as well as for those

ports where it is required (see the

sflow source

command).

E

XAMPLE

Console(config)#sflow

Console(config)#

sflow destination

This command configures the IP address and UDP port used by the

Collector. Use the no form to restore the default settings.

S

YNTAX

sflow destination {ipv4 ipv4-address | ipv6 ipv6-address}

[destination-udp-port]

no sflow destination

ipv4-address - IPv4 address of the sFlow Collector. Valid IPv4

addresses consist of four decimal numbers, 0 to 255, separated by

periods.
ipv6-address - IPv6 address of the sFlow Collector. A full IPv6

address including the network prefix and host address bits. An IPv6

address consists of 8 colon-separated 16-bit hexadecimal values.

One double colon may be used to indicate the appropriate number

of zeros required to fill the undefined fields.
destination-udp-port - The UDP port on which the Collector is

listening for sFlow streams. (Range: 0-65534)

D

EFAULT

S

ETTING

IP Address: null

UDP Port: 6343

C

OMMAND

M

ODE

Interface Configuration (Ethernet)

E

XAMPLE

This example configures the Collector’s IP address, and uses the default

UDP port.

Console(config)#interface ethernet 1/9

Console(config-if)#sflow destination ipv4 192.168.0.4

Console(config-if)#

Advertising