Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Creating Data Center Interconnect

 

These topics provide step-by-step instructions to create data center interconnect.

Prerequisites

Before you start creating data center interconnect, ensure that:

  • Junos OS 18.1 or later is installed

  • Data center pods that Contrail Networking automates must have IP reachability

  • Logical routers and client virtual networks are connected

  • Logical routers extended to the devices in each fabric are assigned DCI-Gateway role

  • BGP sessions between loopback addresses are reachable

  • Underlay connectivity is enabled

  • There is a route reflector on each data center that Contrail Networking is peering to

Follow these steps to create a data center interconnect.

Create a Fabric

Follow these steps to create a fabric with brownfield devices from the Contrail Command user interface (UI):

  1. Click Fabrics.

    The Fabrics page is displayed.

  2. Click Create.

    You are prompted to select a provisioning option.

  3. Click Existing Fabric to import existing (brownfield) devices by discovery.
    Figure 1: Select Provisioning Option
    Select Provisioning Option
  4. Click Provision.

    The Create Fabric page is displayed.

    Figure 2: Create Fabric Page
    Create Fabric Page
  5. Enter the following information:

    Table 1: Provision Existing Fabric

    Field

    Action

    Name

    Enter a name for the fabric.

    Username

    Enter a username for the device.

    Password

    Enter a password for the device.

    Overlay ASN (iBGP)

    Enter autonomous system (AS) number in the range of 1-65,535.

    If you enable 4 Byte ASN in Global Config, you can enter 4-byte AS number in the range of 1-4,294,967,295.

    Node profiles

    Add node profiles.

    You can add more than one node profile.

    All preloaded node profiles are added to the fabric by default. You can remove a node profile by clicking X on the node profile.

    Management subnets

    Enter the following information:

    CIDR—Enter CIDR network address.

    Gateway—Enter gateway address.

    Note: You enter the CIDR address range in the Management subnets field to search for devices. Any device that has a previously configured management IP on the subnet is discovered.

    Underlay ASNs (eBGP)

    Enter autonomous system (AS) number in the range of 1-65,535.

    If you enable 4 Byte ASN in Global Config, you can enter 4-byte AS number in the range of 1-4,294,967,295.

    • Enter minimum value in ASN From field.

    • Enter maximum value in ASN To field.

    Fabric subnets (CIDR)

    Enter fabric CIDR address.

    Note: Fabric subnets are used to assign IP addresses to interfaces that connect to leaf or spine devices.

    Loopback subnets (CIDR)

    Enter loopback address.

    Note: Loopback subnets are used to auto-assign loopback IP addresses to the fabric devices.

  6. Click Next.

    The Discovered devices page is displayed.

    The Device discovery progress bar on the Discovered devices page displays the progress of the device discovery job.

    Figure 3: Device Discovery Progress Bar
    Device Discovery Progress Bar

    The list of devices discovered are listed in the Discovered devices page.

  7. Select the device(s) you want to add to the fabric and then click Add.

    The device is added to the fabric.

  8. Click Next to assign roles.

    The Assign to devices page is displayed.

  9. Click the Assign icon at the end of the row to assign roles.

    The Assign role to devices pop-up is displayed.

  10. Assign physical roles and routing bridging roles.

    For Spine Devices:

    • Select spine from the Physical Role list.

    • Select DCI-Gateway from the Routing Bridging Roles list.

      Figure 4: Assign Role to Spine Devices
      Assign Role to Spine Devices

    For Leaf Devices:

    • Select leaf from the Physical Role list.

    • Select DCI-Gateway from the Routing Bridging Roles list.

      Figure 5: Assign Role to Leaf Devices
      Assign Role to Leaf Devices
  11. Click Assign to confirm selection and then click Autoconfigure to initiate the auto-configuration job.

    The Autoconfigure page is displayed.

Create Virtual Network

Follow these steps to create a Virtual Network from the Contrail Command user interface (UI).

  1. Click Overlay>Virtual Networks.

    The All Networks page is displayed.

  2. Click Create to create a network.

    The Create Virtual Network page is displayed.

    Figure 6: Create Virtual Network Page
    Create Virtual Network Page
  3. Enter a name for the network in the Name field.
  4. Select network policies from the Network Policies list. You can select more than one network policy.
  5. Select any one of the following preferred allocation mode.
    • Flat subnet only

    • Flat subnet preferred

    • (Default) User defined subnet only

    • User defined subnet preferred

  6. Enter VXLAN network identifier in the VxLAN Network Identifier field.

    Range: 1 through 16,777,215

  7. Enter valid IPv4 subnet or mask in the CIDR field.
  8. Enter valid IPv4 address in the Gateway field.
  9. Click Create.

    The All Networks page is displayed. The virtual networks that you created are displayed in this page.

Create Logical Routers

Follow these steps to create a logical router (LR).

  1. Click Overlay>Logical Routers.

    The Logical Routers page is displayed.

  2. Click Create.

    The Create Logical Router page is displayed.

  3. Enter the following information.

    Field

    Action

    Name

    Enter a name for the Logical Router.

    Admin State

    Select Up.

    Extend to Physical Router

    Select the routers from the list.

    Logical Router Type

    Select VXLAN Routing from the list.

    Connected Networks

    Select the networks from the list.

    Public Logical Router

    (Optional) Select this check box if you want the logical router to function as a public logical router.

    VxLAN Network Identifier

    Enter VXLAN network identifier.

    Range: 1 through 16,777,215

    Route Target(s)

    Click +Add to add route targets.

    Enter Autonomous System (AS) number in the ASN field.

    • Enter ASN in the range of 1-4,294,967,295, when 4 Byte ASN is enabled in Global Config.

    • Enter ASN in the range of 1-65,535, when 4 Byte ASN is disabled.

    • You can also add suffix L or l (lower-case L) at the end of a value in the ASN field to assign an AS number in 4-byte range. Even if the value provided in the ASN field is in the range of 1-65,535, adding L or l (lower-case L) at the end of the value assigns the AS number in 4-byte range. If you assign the ASN field a value in the 4-byte range, you must enter a value in the range of 0-65,535 in the Target field.

    Enter route target in the Target field.

    • Enter route target in the range of 0-65,535, when 4 Byte ASN is enabled and ASN field is assigned a 4-byte value.

    • Enter route target in the range of 0-4,294,967,295, when the ASN field is assigned a 2-byte value.

  4. Click Create to create the logical router.

    The Logical Routers page is displayed.

  5. Repeat Step 3 and Step 4 to create another logical router.

Create DCI

Creating Data Center Interconnect

Follow these steps to create a DCI of two different data centers from the Contrail Command user interface (UI).

  1. Click Overlay > DCI.

    The DCI page is displayed.

  2. Click Create.

    The Create DCI page is displayed.

    Figure 7: Create DCI Page
    Create DCI Page
  3. Enter the following information.

    Field

    Action

    DCI name

    Enter a name for the DCI.

    BGP Hold Time

    Modify BGP hold time.

    This field is optional.

    BGP Address Family

    Modify the existing BGP address family by selecting BGP address family from the BGP Address Family list. You can select more than one option from the list.

    This field is optional.

    Connections

    Follow these steps to connect two logical routers.

    1. Select logical router from the Select logical router list.
    2. Select fabric from the Select fabric list.
    3. Select the physical router you want to extend the connection to from the Extend to Physical Router list.

    Repeat the above steps to create the next connection.

  4. Click Create.

    The connections you create are listed in the DCI page.