Routing

last person joined: 3 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.  L2VPN Remote site id inheritance

    Posted 11-28-2016 10:46
      |   view attached

    I was wondering if someone could clear this up for me, I think i have it down but am not sure. 

     

    Given the below code

     

    root@CE10# show routing-instances 
    vpn-a {
        instance-type l2vpn;
        interface ge-0/0/7.550;
        interface ge-0/0/7.551;
        interface ge-0/0/7.552;
        vrf-import import-vpn-a;
        vrf-export export-vpn-a;
        vrf-target target:65000:500;
        protocols {
            l2vpn {
                encapsulation-type ethernet-vlan;
                site ce10 {
                    site-identifier 1;
                    interface ge-0/0/7.550;
                    interface ge-0/0/7.551;
                    interface ge-0/0/7.552;
                }
            }
        }
    }

    The remote site ids that these interfaces should inherit should go 

                    interface ge-0/0/7.550;=>RSI =2
                    interface ge-0/0/7.551;=>RSI =3
                    interface ge-0/0/7.552;=>RSI =4

    correct? 

     

    But, If i assign a site id of something else like 

    protocols {
            l2vpn {
                encapsulation-type ethernet-vlan;
                site ce10 {
                    site-identifier 2;
                    interface ge-0/0/7.550;
                    interface ge-0/0/7.551;
                    interface ge-0/0/7.552;
                }
            }
        }

    Should the inherited remote site ids be something like 

                    interface ge-0/0/7.550;=>RSI =1
                    interface ge-0/0/7.551;=>RSI =4
                    interface ge-0/0/7.552;=>RSI =5

    According to the page in the study guide i am going by, (attached to the post) It said (if i am reading this right) that it should number the interfaces in order of 1+1 etc, unless it hits an interface number that overlaps with the configured site id, Then it would go (site-identifier + 2). 

     

     

     

     

     

    Attachment(s)



  • 2.  RE: L2VPN Remote site id inheritance
    Best Answer

    Posted 11-29-2016 02:19

    The text is a little misleading, but what happens is that the local site id is skipped (thus resulting in an inrease of 2), i.e.

     

    protocols {
            l2vpn {
                encapsulation-type ethernet-vlan;
                site ce10 {
                    site-identifier 2;
                    interface ge-0/0/7.550;   # RSI=1
                    interface ge-0/0/7.551;   # RSI=3 (because site id 2 is local)
                    interface ge-0/0/7.552;   # RSI=4
                }
            }
        }

    See https://forums.juniper.net/t5/Routing/question-in-L2VPN/td-p/90950 for more details.

     

    Cheers,

    Carsten



  • 3.  RE: L2VPN Remote site id inheritance

    Posted 11-29-2016 05:53

    Thanks, 

    Yea i have been up and down that thread. 

    Thought i had it figured out until i came accross that page in the book and doubted it for a bit. 

     

    Figured i,d see what the consensus was. 

     

    Appreciate the help.