# sFlow

## nv show system sflow

Shows all sFlow configuration on the switch.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow
                    operational  applied
    -------------  -----------  -----------
    poll-interval               20
    state                       enabled
    [collector]                 192.0.2.100
    [collector]                 192.0.2.200
    sampling-rate
      default                   400
      speed-100m                100
      speed-1g                  1000
      speed-10g                 10000
      speed-25g                 25000
      speed-40g                 40000
      speed-50g                 50000
      speed-100g                100000
      speed-200g                200000
      speed-400g                400000
      speed-800g                800000
    agent
      ip                        10.0.0.0/8
      interface                 eth0
    policer
      rate                      8000
      burst                     9000
    [dropmon]                   sw

## nv show system sflow collector

Shows sFlow collector configuration.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow collector
    Ip                    Port
    ---------------------------------
    192.0.2.100           6343
    192.0.2.200           6344

## nv show system sflow collector <collector-ip>

Shows configuration settings for a specific sFlow collector.

### Command Syntax

Syntax | Description
--- | ---
`<collector-ip>` | The IP address of the sFlow collector.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow collector 192.0.2.100

## nv show system sflow sampling-rate

Shows the sFlow sampling rate configuration.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow sampling-rate
                applied
    ----------  -------
    default     400
    speed-100m  100
    speed-1g    1000
    speed-10g   10000
    speed-25g   25000
    speed-40g   40000
    speed-50g   50000
    speed-100g  100000
    speed-200g  200000
    speed-400g  400000
    speed-800g  800000

## nv show system sflow agent

Shows sFlow agent configuration.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow agent
               operational  applied
    ---------  -----------  ----------
    ip                      10.0.0.0/8
    interface               eth0

## nv show system sflow policer

Shows the number of sFlow samples per second and the sample burst size per second that the switch can send.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow policer
    ----------------------
           applied
    -----  -------
    rate   8000
    burst  9000

## nv show system sflow dropmon hw

Shows information for dropped packets in hardware.

### Version History

Introduced in Cumulus Linux 5.11.0

### Example

    cumulus@switch:~$ nv show system sflow dropmon hw