Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

traffic-statistics-labeled-path

Syntax

Hierarchy Level

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.