Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

clear sflow

Clears the collected sFlow statistics.

clear sflow

Operational mode

The following example shows how to clear the collected sFlow statistics (the number of UDP packets sent and sFlow flow samples collected).

vyatta@vyatta# run clear sflow 
vyatta@vyatta# run show sflow 
    "sFlow information": {
        "sFlow version": 5,
        "sFlow services": "enabled",
        "sFlow agent IP address": "",
        "Collector destinations configured": 1,
        "Collectors": [{
                "IP address": "",
                "UDP port number": 6343
        "Polling interval": 3,
        "Configured default sampling rate": 512,
        "Actual default sampling rate": 512,
        "sFlow max-header size": 128,
        "UDP packets sent": 0,
        "Flow samples collected": 0,
        "sFlow interfaces": [{
                "name": "dp0s160"
        "Total sFlow interfaces": 1