traffic-statistics-labeled-path
Syntax
traffic-statistics-labeled-path { file filename <files files> <size size> <(world-readable | no-world-readable)>; interval seconds; }
Hierarchy Level
[edit logical-systems name protocols bgp], [edit logical-systems name routing-instances name protocols bgp], [edit protocols bgp], [edit routing-instances name protocols bgp]
Description
Enable collection of periodic ingress labeled statistics
for BGP label-switched paths in a network configured with segment
routing. The traffic statistics are collected at a specified time
interval and saved in a specified file. To collect traffic statistics
of labeled unicast IPv4 and IPv6 families for specific BGP groups,
configure the labeled-path
option under the family or BGP
group level at [edit logical-systems logical-system-name protocols bgp group group-name family (inet
| inet6) labeled-unicast]
hierarchy level.
Options
file filename | Specify a filename to collect traffic statistics. |
interval | Specify a time interval in seconds to collect traffic statistics.
|
size | (Optional) Specify the size of the file that records traffic statistics.
|
world readable | world unreadable | (Optional) Specify whether the traffic statistics log file is accessible to everyone or not. |
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 18.1R1.