Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

traffic-statistics-labeled-path

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
traffic-statistics-labeled-path {
    file filename <files files>     <size size> <(world-readable | no-world-readable)>;
    interval seconds;
}

Hierarchy Level

content_copy zoom_out_map
[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.

  • Range: 60 through 65535 seconds.

size

(Optional) Specify the size of the file that records traffic statistics.

  • Range: 10240 through 4294967295

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.

footer-navigation