12 Configuring the sFlow protocol globally

Configuring the sFlow protocol globally

Dell recommends that you globally configure sFlow on the switch first, then make custom alterations to specific interface ports. For details, see “Interface-specific administrative tasks for sFlow” on page 116.

NOTE

For complete information on the sFlow CLI commands for the switch, see the Converged Enhanced Ethernet Command Reference.

To configure sFlow globally, perform the following steps in global configuration mode. 1. Globally enable the sFlow protocol.

switch(config)#sflow enable

2. Designate the IP address for the sFlow collector server.

switch(config)#sflow collector 192.10.138.176

3. Set the sFlow polling interval.

switch(config)#sflow polling-interval 135

4. Set the sFlow sample-rate

switch(config)#sflow sample-rate 4096

5.Use the exit command to return to Privileged EXEC mode.

6.Confirm the sFlow configuration status.

switch#show sflow

sFlow services are enabled

Global default sampling rate: 4096

Global default counter polling interval: 135 1 collectors configured

Collector IP addr: 192.10.138.176, Agent IP addr: 10.32.152.22, UDP port: 6343 77 UDP packets exported

0 UDP packets dropped

165 sFlow samples collected

Interface-specific administrative tasks for sFlow

Global sflow enable prepares the switch to use sFlow, as shown in “Configuring the sFlow protocol globally”. However, that process does not automatically enable sFlow on individual ports. You must enable sFlow on each port. Use the administrative tasks in this section to make any necessary customizations to specific interface port settings.

Disabling sFlow on specific interfaces

By default, sFlow is disabled on all the interface ports on the switch.

NOTE

Disabling sFlow on the interface port does not completely shut down the network communication on the interface port.

116

Dell Converged Enhanced Ethernet Administrator’s Guide

 

53-1002116-01

Page 134
Image 134
Dell 53-1002116-01 manual Configuring the sFlow protocol globally, Interface-specific administrative tasks for sFlow