beautypg.com

Specifying the collector, Changing the polling interval – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 248

background image

NOTE
If you change the router ID or other IP address value that sFlow uses for its agent_address, you need
to disable and then re-enable sFlow to cause the feature to use the new source address.

Specifying the collector

sFlow exports traffic statistics to an external collector. You can specify up to four collectors. You can
specify more than one collector with the same IP address if the UDP port numbers are unique. You
can have up to four unique combinations of IP addresses and UDP port numbers.

Specifying an sFlow collector on IPv4 devices

To specify an sFlow collector on an IPv4 device, enter a command such as the following.

device(config)#sflow destination 10.10.10.1

This command specifies a collector with IPv4 address 10.10.10.1, listening for sFlow data on UDP port
6343.

Syntax: [no] sflow destination ip-addr [ dest-udp-port | vrf]

The ip-addr parameter specifies the IP address of the collector.

The dest-udp-port parameter specifies the UDP port on which the sFlow collector will be listening for
exported sFlow data. The default port number is 6343. For information on VRF parameter, see the
FastIron Layer 3 Routing Configuration Guide .

The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the
device that sent the data. Refer to

sFlow and source address

on page 246.

Specifying an sFlow collector on IPv6 devices

To specify an sFlow collector on an IPv6 device, enter a command such as the following.

device(config)#sflow destination ipv6 2001:DB8:0::0b:02a

This command specifies a collector with IPv6 address 2001:DB8::0b:02a, listening for sFlow data on
UDP port 6343.

Syntax: [no] sflow destination ipv6 ip-addr [dest-udp-port]

The ip-addr parameter specifies the IP address of the collector.

The dest-udp-port parameter specifies the UDP port on which the sFlow collector will be listening for
exported sFlow data. The default port number is 6343.

If the IPv6 address you specify is a link-local address on a Layer 3 switch, you must also specify the
outgoing-interface ethernet port-num or theve port-num . This identifies the outgoing interface through
which the sampled packets will be sent.

The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the
device that sent the data. Refer to

sFlow and source address

on page 246.

Changing the polling interval

The polling interval defines how often sFlow byte and packet counter data for a port are sent to the
sFlow collectors. If multiple ports are enabled for sFlow, the Brocade device staggers transmission of

Specifying the collector

248

FastIron Ethernet Switch Administration Guide

53-1003075-02