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 128K, 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:
-
traceoptions {
-
file filename <files number <size bytes> <world-readable | no-world-readable>;