Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


traffic-statistics (Protocols BGP)



Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 14.1X53-D10 for the QFX Series and for EX4600 switches.

labeled-path introduced in Junos OS Release 18.1R1 for the MX Series.


Enable the collection of traffic statistics for interprovider or carrier-of-carriers VPNs.


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.