Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring the Communication Between the MX Series Router and Contrail

    This topic is intended for service providers.

    This topic describes how to configure the MX Series router to communicate with Contrail.

    To configure your MX Series router to communicate with the Contrail system:

    1. Enable tunnel services:

      This configuration is required for the GRE tunnel that connects the VRF routing instance in the MX Series router to the Contrail network.

      chassis { fpc 0 {pic 0 {tunnel-services {}}}}
    2. Configure the GRE tunnel that connects the VRF routing instance in the MX Series router to the Contrail network:
      routing-options {router-id 10.0.1.1;autonomous-system 64512; ## Must match Contraildynamic-tunnels {contrail {source-address 10.0.1.1; ## Must match Contrail IP addressgre;destination-networks {10.0.1.0/24; ## Specify the network on which Contrail VR peer(s) reside}}}}
    3. Configure BGP peering, using the Contrail global AS number 64512.

      The family route-target option allows routes from an existing virtual network in Contrail to be learned by the MX Series router after you create the routing instance on the router.

      protocols {bgp {group contrail {type internal;local-address 10.0.1.1; ## MX Series router loopback or interface IP addressfamily inet-vpn {any;}family route-target;neighbor 10.0.1.2; ## Contrail Controller IP address}}
    4. Commit the router configuration and verify the BGP session comes up.
    5. Make sure that you can discover the router in Junos Space Network Management Platform.

      See Device Discovery Overview.

      Note: You must enable SNMP on the router prior to performing device discovery.

    Modified: 2015-11-06