beautypg.com

Changing the sflow source port, Enabling sflow forwarding, Command syntax for enabling sflow forwarding – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 252: Refer to the sections

background image

NOTE
Configuring a sampling rate on only the port that is the primary port of a trunk automatically applies
that same sampling rate to all ports in the trunk.

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:

device(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 246 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 "802.1X Port Security"
chapter in the FastIron Ethernet 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.

device(config)#sflow enable

Changing the sFlow source port

252

FastIron Ethernet Switch Administration Guide

53-1003075-02