beautypg.com

Configuring the sflow management vrf, Sflow forwarding, Enabling sflow forwarding – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 927

background image

Multi-Service IronWare Switching Configuration Guide

897

53-1003036-02

Configuring and enabling sFlow

23

Configuring the sFlow management VRF

The sflow management-vrf-disable command is used to disable the management VRF for sFlow
and using the default VRF instance. By default, the management VRF is enabled on sFlow.

Brocade(config)#sflow management-vrf-disable

Syntax: [no] sflow [management-vrf-disable]

The no sflow management-vrf-disable command disables the use of management VRF on sFlow
and enables the default VRF instance.

NOTE

The output of the show running-config command does not show “management-vrf-disable” because
it is the default behavior. If the no sflow management-vrf-disable command has been used,
“management-vrf-disable” will appear in the output to the show running-config command.

sFlow forwarding

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

NOTE

sFlow forwarding enables sampling of data packets received on sFlow-enabled ports and does not
sample data packets that leave sFlow-enabled ports.

To enable sFlow forwarding:

Globally enable the sFlow feature.

Enable sFlow forwarding on individual interfaces.

NOTE

Before you enable sFlow, make sure the device has an IP address that sFlow can use as its source
address. Refer to

“Source address”

for the source address requirements.

Enabling sFlow forwarding

To enable sFlow forwarding, enter commands such as the following.

Brocade(config)# sflow enable

Brocade(config)# interface ethernet 1/1 to 1/8

Brocade(config-mif-1/1-1/8)# sflow forwarding

These commands globally enable sFlow, then enable sFlow forwarding on Ethernet ports 1/1
through 1/8. You must use both the sflow enable and sflow forwarding commands to enable the
feature.

Syntax: [no] sflow enable

Syntax: [no] sflow forwarding