Routing

last person joined: 4 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Simple BGP VPLS setup not coming up

    Posted 03-15-2019 02:13

    Hi,

     

         I am configuring a simple BGP-VPLS setup with the following topology:

      

                  CE1----u-PE1--------PE1------PE2------u-PE2---CE2

     

    I have verified that u-PE1 to u-PE2 connectivity exists (pings are working, and 'show bgp neighbor' lists the connection between both as 'established').

     

    However, when I do 'show vpls connections' on either u-PE1 or u-PE2, the output is 'No connections found'.

     

    Following are the configs of all 4 PE routers. Can someone kindly point out where I am going wrong?

     

    PE1:

    --------

    set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.1/30

    set interfaces ge-0/0/0 unit 0 family mpls

    set interfaces ge-0/0/1 unit 0 family inet address 10.10.10.5/30

    set interfaces ge-0/0/1 unit 0 family mpls

    set interfaces lo0 unit 0 family inet address 1.1.1.1/32

    set routing-options route-distinguisher-id 1.1.1.1

    set routing-options autonomous-system 1

    set protocols mpls interface ge-0/0/0.0

    set protocols mpls interface ge-0/0/1.0

    set protocols mpls interface lo0.0

    set protocols bgp group ibgp type internal

    set protocols bgp group ibgp local-address 1.1.1.1

    set protocols bgp group ibgp family l2vpn signaling

    set protocols bgp group ibgp neighbor 11.11.11.11

    set protocols bgp group ibgp neighbor 2.2.2.2

    set protocols bgp group ibgp neighbor 22.22.22.22

    set protocols ospf area 0.0.0.0 interface ge-0/0/0.0

    set protocols ospf area 0.0.0.0 interface ge-0/0/1.0

    set protocols ospf area 0.0.0.0 interface lo0.0 passive

    set protocols ldp interface ge-0/0/0.0

    set protocols ldp interface ge-0/0/1.0

    set protocols ldp interface lo0.0

     

    PE2:

    -------

    set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.2/30

    set interfaces ge-0/0/0 unit 0 family mpls

    set interfaces ge-0/0/1 unit 0 family inet address 10.10.10.9/30

    set interfaces ge-0/0/1 unit 0 family mpls

    set interfaces lo0 unit 0 family inet address 2.2.2.2/32

    set routing-options route-distinguisher-id 2.2.2.2

    set routing-options autonomous-system 1

    set protocols mpls no-cspf

    set protocols mpls interface ge-0/0/0.0

    set protocols mpls interface ge-0/0/1.0

    set protocols mpls interface lo0.0

    set protocols bgp group ibgp type internal

    set protocols bgp group ibgp local-address 2.2.2.2

    set protocols bgp group ibgp family l2vpn signaling

    set protocols bgp group ibgp neighbor 22.22.22.22

    set protocols bgp group ibgp neighbor 1.1.1.1

    set protocols bgp group ibgp neighbor 11.11.11.11

    set protocols ospf area 0.0.0.0 interface ge-0/0/0.0

    set protocols ospf area 0.0.0.0 interface ge-0/0/1.0

    set protocols ospf area 0.0.0.0 interface lo0.0 passive

    set protocols ldp interface ge-0/0/0.0

    set protocols ldp interface ge-0/0/1.0

    set protocols ldp interface lo0.0

     

    u-PE1:

    -------

    set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.6/30

    set interfaces ge-0/0/0 unit 0 family mpls

    set interfaces ge-0/0/1 encapsulation ethernet-vpls

    set interfaces ge-0/0/1 unit 0

    set interfaces lo0 unit 0 family inet address 11.11.11.11/32

    set routing-options route-distinguisher-id 11.11.11.11

    set routing-options autonomous-system 1

    set protocols mpls no-cspf

    set protocols mpls interface ge-0/0/0.0

    set protocols mpls interface lo0.0

    set protocols bgp group ibgp type internal

    set protocols bgp group ibgp local-address 11.11.11.11

    set protocols bgp group ibgp family l2vpn signaling

    set protocols bgp group ibgp neighbor 1.1.1.1

    set protocols bgp group ibgp neighbor 22.22.22.22

    set protocols bgp group ibgp neighbor 2.2.2.2

    set protocols ospf area 0.0.0.0 interface ge-0/0/0.0

    set protocols ospf area 0.0.0.0 interface lo0.0 passive

    set protocols ldp interface ge-0/0/0.0

    set protocols ldp interface lo0.0

    set routing-instances vpls1 instance-type vpls

    set routing-instances vpls1 interface ge-0/0/1.0

    set routing-instances vpls1 route-distinguisher 11.11.11.11:1

    set routing-instances vpls1 vrf-target target:1:1

    set routing-instances vpls1 protocols vpls no-tunnel-services

    set routing-instances vpls1 protocols vpls site CE1 site-identifier 1

    set routing-instances vpls1 protocols vpls site CE1 interface ge-0/0/1.0

     

    u-PE2:

    --------

    set interfaces ge-0/0/0 unit 0 family inet address 10.10.10.10/30

    set interfaces ge-0/0/0 unit 0 family mpls

    set interfaces ge-0/0/1 encapsulation ethernet-vpls

    set interfaces ge-0/0/1 unit 0

    set interfaces lo0 unit 0 family inet address 22.22.22.22/32

    set routing-options route-distinguisher-id 22.22.22.22

    set routing-options autonomous-system 1

    set protocols mpls no-cspf

    set protocols mpls interface ge-0/0/0.0

    set protocols mpls interface lo0.0

    set protocols bgp group ibgp type internal

    set protocols bgp group ibgp local-address 22.22.22.22

    set protocols bgp group ibgp family l2vpn signaling

    set protocols bgp group ibgp neighbor 2.2.2.2

    set protocols bgp group ibgp neighbor 11.11.11.11

    set protocols bgp group ibgp neighbor 1.1.1.1

    set protocols ospf area 0.0.0.0 interface ge-0/0/0.0

    set protocols ospf area 0.0.0.0 interface lo0.0 passive

    set protocols ldp interface ge-0/0/0.0

    set protocols ldp interface lo0.0

    set routing-instances vpls1 instance-type vpls

    set routing-instances vpls1 interface ge-0/0/1.0

    set routing-instances vpls1 route-distinguisher 22.22.22.22:1

    set routing-instances vpls1 vrf-target target:1:1

    set routing-instances vpls1 protocols vpls no-tunnel-services

    set routing-instances vpls1 protocols vpls site CE1 site-identifier 2

    set routing-instances vpls1 protocols vpls site CE1 interface ge-0/0/1.0

     

     

    Thanks!

     



  • 2.  RE: Simple BGP VPLS setup not coming up

    Posted 03-15-2019 02:21

    Hi,

     

    Did you compare your setup with Juniper's example:

     

    https://www.juniper.net/documentation/en_US/release-independent/nce/topics/example/vpls-bgp-ldp-autodiscovery-mesh-group.html

     

    Try to do same troubleshooting steps which you see in the document



  • 3.  RE: Simple BGP VPLS setup not coming up
    Best Answer

    Posted 03-15-2019 02:54

    I tested your config in my lab and it is working for me. Which device you are using ? Please share below mentioned command output from u-PE1 and u-PE2

     

    show bgp summary

    show route table bgp.l2vpn.0 hidden

    show route table inet.3

    traceroute mpls ldp 22.22.22.22

    traceroute mpls ldp 11.11.11.11

    show vpls connections

    show vpls connections extensive

     



  • 4.  RE: Simple BGP VPLS setup not coming up

    Posted 03-15-2019 03:15

    Hi, thanks for the reply and confirming the config is valid. As mentioned in my earlier reply, I could not see the mistake in my configs as well, so wanted to check with the community ( a fresh set of eyes helps at times). Accepting yours as solution because you were able to validate the configs in lab. 

     

    PS: I am using vMX. I tore down the setup since the connections were never coming up and I had to go with a working setup as I have some urgent testing to do.

     

    Many thanks!

     



  • 5.  RE: Simple BGP VPLS setup not coming up

    Posted 03-15-2019 03:12

    Thanks for reply. Will take a look! In my opinion, there is nothing wrong with my configs...no idea why it is not coming up



  • 6.  RE: Simple BGP VPLS setup not coming up

    Posted 03-15-2019 02:58

    I don't see a configuration error.  Can you walk through the troubleshooting steps outlined in this kb and share the output where the failure is found.

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB24986