Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Configuring Connectivity for BGP-LS Topology Acquisition

    After you have successfully established a connection between the CSD-Topology and the network, you can configure topology acquisition using Border Gateway Protocol Link State (BGP-LS). For BGP-LS topology acquisition, you must configure both the CSD-Topology and the PCC routers.


    We recommend that you use BGP-LS instead of IGP adjacency for the following reasons:

    • The OSPF and IS-IS databases have a lifetime timer, and if the OSPF or IS-IS neighbor is down, the OSPF or IS-IS database is not removed immediately, and the CSD-Topology will not be able to determine whether the topology is valid or not.

    • Using BGP-LS minimizes the risk of making the JunosVM a transit router between AS areas if the GRE metric is not properly configured.

    • Typically, the CSD-Topology is located in a NOC Data Center and multihops away from the backbone routers and MPLS TE routers.

    Note: If BGP-LS is used, JunosVM is configured to automatically accept any I-BGP session from, in this example, However, you must verify that JunosVM is correctly configured and that it has IP reachability to the peering router.

    Before you begin, complete the following tasks:

    • Verify IP connectivity between a switch (or router) and the x86 appliance on which CSD-Topology software is installed.

    • Make sure that PCEP is configured on each PE router in the network topology.

    To configure BGP-LS topology acquisition, see:

    Configuring BGP-LS Topology Acquisition on the CSD-Topology

    To configure BGP-LS on the CSD-Topology for topology acquisition, perform the following configuration steps from the CSD-Topology JunosVM:

    1. Initiate an SSH or telnet session to the JunosVM external IP or management IP address.
    2. Specify the autonomous system (AS) number for the node (BGP peer).
      [edit routing-options]
      user@csd_topology_junosvm# set autonomous-system AS_number
    3. Specify the BGP group name and type for the node.
      [edit protocols bgp]
      user@csd_topology_junosvm# set group group_1 type internal
    4. Specify a description for the BGP group for the node.
      [edit protocols bgp group group_1]
      user@csd_topology_junosvm# set description “csd-topology BGP-TE Peering”
    5. Specify the address of the local end of a BGP session.

      This is the IP address for the JunosVM external IP address which is used to accept incoming connections to the JunosVM peer and to establish connections to the remote peer.

      [edit protocols bgp group group_1]
      user@csd_topology_junosvm# set local-address <junosVM IP address>
    6. Enable the traffic engineering features for the BGP routing protocol.
      [edit protocols bgp group group_1]
      user@csd_topology_junosvm# set family traffic-engineering unicast
    7. Specify the IP address for the neighbor router that connects with the CSD-Topology.
      [edit protocols bgp group group_1]
      user@csd_topology_junosvm# set neighbor <router loopback IP address>

      Note: You can specify the router loopback address if it is reachable by the BGP peer on the other end. But for loopback to be reachable, usually some IGP has to be enabled between the CSD-Topology JunosVM and the peer on the other end.

    Configuring Topology Acquisition on the PCC Routers

    To enable the CSD-Topology to discover the network, you must add the following configuration on each each router that peers with the CSD-Topology. The CSD-Topology JunosVM must peer with at least one router from each area (autonomous system).

    To configure topology acquisition, initiate a telnet session to each PCC router and add the following configuration:

    1. Configure a policy.
      [edit policy-options]
      user@PE1# set policy-statement TE term 1 from family traffic-engineering
      user@PE1# set policy-statement TE term 1 then accept

      Note: This configuration is appropriate for both OSPF and IS-IS.

    2. Import the routes into the traffic-engineering database.
      [edit protocols mpls traffic-engineering database]
      user@PE1# set import policy TE
    3. Configure a BGP group by specifying the IP address of the router that peers with the CSD-Topology as the local address (typically the loopback address) and the JunosVM external IP address as the neighbor.
      [edit routing-options]
      user@PE1# set autonomous-system AS Number
      [edit protocols bgp group bgp group1]
      user@PE1# set type internal
      user@PE1# set description “CSD-Topology BGP-TE Peering”
      user@PE1# set local-address <router-IP-address>
      user@PE1# set family traffic-engineering unicast
      user@PE1# set export TE
      user@PE1# set neighbor <JunosVM IP-address>

    Modified: 2017-09-13