[j-nsp] Q-in-Q configuration on Juniper Gig interface

sthaug at nethelp.no sthaug at nethelp.no
Thu May 29 13:38:06 EDT 2008


> Im working on testing of Metro Ethernet Solution and want to integrate it
> with Juniper M7i - Gig interface. The main implementation that is required
> to configure Q-in-Q (Stacked VLAN setup) over Juniper M7i with Gig Interface
> to aggregate MPLS VLANs and carry it to other PE.

Note that you need IQ or IQ2 GigE PICs to terminate stacked VLANs.

> Scenario is something like this,
> 
> Juniper-CE (VLAN 3) ===Trunk===(Metro Ethernet Access Switch [Q-in-Q] SVLAN
> 300-CVLAN 3)===MEN Ring====(Metro Ethernet Access Switch [Q-in-Q] SVLAN
> 300-CVLAN 3)= ==Trunk===Juniper-PE (SVLAN 300 - CVLAN 3)
> 
> At Juniper M7i, i have check there are certain options to configure Stacked
> VLAN or Q-in-Q. Consider if i configure /30 network for PE-CE connectivity
> what will the configuration of Juniper PE Gig Interface.

This is a rather straightforward setup, if I understand your question
correctly. Something like this on the PE:

ge-0/0/0 {
    stacked-vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 1 {
        vlan-tags outer 300 inner 3;
        family inet {
            address a.b.c.d/30;
        }
    }
}

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the juniper-nsp mailing list