sflow

Syntax

[no] sflow <RECEIVER-INSTANCE> destination [<UDP-PORT-NUM> <IP-ADDRESS> [ipv4 | ipv6 <UDP-PORT-NUM> oobm] sampling [<PORT-LIST> <SAMPLING RATE>] polling [<PORT-LIST> <POLLING INTERVAL>]

Description

sFlow commands allow you to configure sFlow instances using the CLI.

Parameters and options

no

To disable an sFlow receiver/destination, enter no sflow <RECEIVER-INSTANCE> .

<RECEIVER-INSTANCE> destination

Enables an sFlow receiver/destination. The receiver-instance number must be a 1, 2, or 3.

oobm

A configurable option for sending sFlow packets to a destination through the OOBM port on the switch. Use the OOBM port to reach the specified sFlow receiver.

ipv4 | ipv6

Supports both IPv4 and IPv6 addresses.

<UDP-PORT-NUM>

The sFlow collector collects sample packets through the OOBM port, allowing the monitoring of network traffic. By default, the udp destination port number is 6343.

<IP-ADDRESS>

The IP address of a single destination.

<RECEIVER-INSTANCE> sampling

Once an sFlow receiver/destination has been enabled, this command enables flow sampling for that instance. The receiver-instance number is 1, 2, or 3.

<PORT-LIST>

Port or list of ports on which to enable flow-sampling. To disable flow-sampling for the specified <PORT-LIST> use a sampling rate of 0.

<SAMPLING-RATE>

The allowable non-zero skipcount for the specified port or ports.

<RECEIVER-INSTANCE> polling

Once an sFlow receiver/destination has been enabled, this command enables counter polling for that instance. The receiver-instance number is 1, 2, or 3.

<PORT-LIST>

Port or list of ports on which to enable polling. To disable counter-polling for the specified <PORT-LIST> use a polling interval of 0.

<POLLING INTERVAL>

An allowable non-zero value to enable polling on the specified port or ports.

Usage

[no] sflow <RECEIVER-INSTANCE> destination <IP-ADDRESS> <UDP-PORT-NUM>
sflow <RECEIVER-INSTANCE> sampling <PORT-LIST> <SAMPLING RATE>
sflow <RECEIVER-INSTANCE> polling <PORT-LIST> <POLLING INTERVAL>
[no] sflow <RECEIVER-INSTANCE> destination [ipv4 | ipv6] <UDP-PORT-NUM> oobm

sFlow Destination is OOBM port

Switch (Config)# sflow 1 destination 192.168.2.3 6000 oobm 
Output showing OOBM Support Enabled
Output of the running-config File showing the sFlow Destination is the OOBM Port