traffic-statistics (Protocols BGP)
Syntax
traffic-statistics { labeled-path file filename <world-readable | no-world-readable>; interval seconds; }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp family (inet | inet6) labeled-unicast], [edit logical-systems logical-system-name protocols bgp group group-name family (inet | inet6) labeled-unicast], [edit protocols bgp family (inet | inet6) labeled-unicast], [edit protocols bgp group group-name family (inet | inet6) labeled-unicast]
Description
Enable the collection of traffic statistics for interprovider or carrier-of-carriers VPNs.
Options
file filename
—Specify a filename for the BGP labeled–unicast traffic
statistics file. If you do not specify a filename, statistics are
still collected but can only be viewed by using the show bgp
group traffic statistics group-name
command.
interval seconds
—Specify
how often BGP labeled-unicast traffic statistics are collected.
labeled-path
—Specify this option to collect
labeled path traffic statistics of ingress BGP nodes.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
labeled-path
introduced in Junos OS Release 18.1R1
for the MX Series.