Configuring sFlow

sFlow is a multi-vendor, packet sampling technology used to monitor network devices including routers, switches, host devices and wireless access points. Flow Monitor traffic monitoring software uses the sFlow data to analyze and manage network traffic and to ensure Quality of Service.

sFlow sampling process is performed by the switching/routing ASICs, thereby ensuring wire-speed performances. The sFlow agent then combines the interface counters, flow samples and the forwarding/routing table state associated with each packet into a UDP sFlow datagram. This is then sent to the sFlow collector for collection and analysis.

Enable sFlow Feature

Reference

Command

feature sflow no feature sflow

Description

Enable/disable sFlow feature

Mode

CONFIG

Example

pbnoscli(config)# feature sflow 
pbnoscli(config)# no feature sflow coll

sFlow Collector

Reference

Command

sflow collector <name> <ipaddr> no sflow collector <name> <ipaddr>

Description

Enable/disable sFlow collector configuration

Mode

CONFIG

Example

sFlow Polling-Interval

Reference

Command

sflow polling-interval <interval (0..300)> no sflow collector <interval (0..300)>

Description

Enable/disable sFlow polling-interval

Mode

CONFIG

Example

Enable sFLow

Reference

Command

sflow enable

Description

Enable/disable sFlow per interface

Mode

INTERFACE

Example

sFlow Sampling Rate

Reference

Command

sflow sampling-rate <rate(256..8388608)>

Description

Enable/disable sFlow sampling rate

Mode

INTERFACE

Example

Show sFlow Command

Reference

Command

sflow ("Sflow related information") [interface ("Specific to an interface") <ifname:string interface_list()> ("Interface name")], showsflow();

Description

sFlow related information

Example

Last updated