home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and 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 
[edit]
vyatta@vyatta# run show sflow 
{
    "sFlow information": {
        "sFlow version": 5,
        "sFlow services": "enabled",
        "sFlow agent IP address": "1.1.1.1",
        "Collector destinations configured": 1,
        "Collectors": [{
                "IP address": "198.51.100.2",
                "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
    }
}