sFlow 11

Changing the sFlow source port

By default, sFlow sends data to the collector using UDP source port 8888, but you can change the source UDP port to any port number in the range 1025-65535.

To change the source UDP port, enter a command such as the following:

Brocade(config)#sflow source-port 8000

Syntax: [no] sflow source-port <num>

The <num> parameter specifies the sFlow source port.

Enabling sFlow forwarding

sFlow exports data only for the interfaces on which you enable sFlow forwarding. You can enable sFlow forwarding on Ethernet interfaces.

To enable sFlow forwarding, perform the following:

Globally enable the sFlow feature

Enable sFlow forwarding on individual interfaces

Enable sFlow forwarding on individual trunk ports

NOTE

Before you enable sFlow, make sure the device has an IP address that sFlow can use as its source address. Refer to “sFlow and source address” on page 256 for the source address requirements.

NOTE

When you enable sFlow forwarding on an 802.1X-enabled interface, the samples taken from the interface include the username used to obtain access to either or both the inbound and outbound ports, if that information is available. For information about 802.1X, refer to the Brocade ICX 6650 Switch Security Configuration Guide.

Command syntax for enabling sFlow forwarding

This section shows how to enable sFlow forwarding.

Globally enabling sFlow forwarding

To enable sFlow forwarding, you must first enable it on a global basis, then on individual interfaces or trunk ports, or both.

To globally enable sFlow forwarding, enter the following command.

Brocade(config)#sflow enable

You can now enable sFlow forwarding on individual ports as described in the next two sections.

Syntax: [no] sflow enable

Enabling sFlow forwarding on individual interfaces

To enable sFlow forwarding enter commands such as the following.

Brocade ICX 6650 Administration Guide

263

53-1002600-01

 

Page 281
Image 281
Brocade Communications Systems 6650 manual Enabling sFlow forwarding, Changing the sFlow source port