Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Tracing Traffic-Sampling Operations

date_range 24-Nov-23

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:

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