Routing
Highlighted
Routing

L2VPN Remote site id inheritance

‎11-28-2016 10:45 AM

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). 

 

 

 

 

 

Attachments

2 REPLIES 2
Routing
Solution
Accepted by topic author robkuhn
‎11-29-2016 05:52 AM

Re: L2VPN Remote site id inheritance

‎11-29-2016 02:18 AM

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

Routing

Re: L2VPN Remote site id inheritance

‎11-29-2016 05:52 AM

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.