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.

service sflow sampling-rate <sampling-rate>

Specifies the rate at which packets are sampled.

set service sflow sampling-rate sampling-rate
delete service sflow sampling-rate sampling-rate

The default sampling rate is 2048 packets.

sampling-rate
The number of packets from which to pick one packet for analysis. The number ranges from 512 through 65535. For example, if a number of 512, it means that the sampling rate is 1 in 512. In other words, the Vyatta router selects a packet every other 512 packets.

Configuration mode

service {
    sflow {
        sampling-rate sampling-rate
    }
}

Use the set form of this command to specify the sampling rate.

Use the delete form of this command to restore the default sampling rate, which is 2,048 packets.