Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Contrail] Indirect route statistics for Contrail cluster



Article ID: KB36065 KB Last Updated: 09 Jul 2020Version: 1.0

For Contrail controller peers with gateway router with MP-BGP protocol, we oftentimes need to check both end; for the routes received from the peer, and routes advertised to the peer.

This article introduces how to check the route exchange information in a typical MP-BGP contrail setup.


You can get the per-neighbor route statistics from the command line. For example, with Juniper MX router, the following command can be used:

    labroot@test> show bgp neighbor | find bgp.l3vpn.0
        Table bgp.l3vpn.0 Bit: 20001
          RIB State: BGP restart is complete
          RIB State: VPN restart is complete
          Send state: in sync
          Active prefixes:              116
          Received prefixes:            116
          Accepted prefixes:            116
          Suppressed due to damping:    0
          Advertised prefixes:          34

Here we see that MX is peering with a Contrail controller, and counter of received and advertised routes.  In contrast, Contrail currently does not have a good way to verify it. From the GUI or introspect, we can dump any specific routing table, but there is no known statistics about "Received prefixes" and "Advertised prefixes".

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search