Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Tracing Traffic-Sampling Operations

Tracing operations track all traffic-sampling operations and record them in a log file in the /var/log directory. By default, this file is named /var/log/sampled. The default file size is 128 KB, and 10 files are created before the first one gets overwritten.

To trace traffic-sampling operations, include the traceoptions statement at the [edit forwarding-options sampling] hierarchy level:

[edit forwarding-options sampling]
traceoptions {file <filename> <files number> <size bytes> <world-readable | no-world-readable>;no-remote-trace;}

Published: 2013-07-31

Supported Platforms

Published: 2013-07-31