跟踪流量采样操作
跟踪操作跟踪所有流量采样操作,并将其记录在 /var/log 目录下的日志文件中。默认情况下,此文件名为 /var/log/sampled。默认文件大小为 128 KB,在覆盖第一个文件之前会创建 10 个文件。
要跟踪流量采样操作,请在层次结构级别包含 traceoptions 以下语句 [edit forwarding-options sampling] :
[edit forwarding-options sampling] traceoptions { file <filename> <files number> <size bytes> <world-readable | no-world-readable>; no-remote-trace; }