[j-nsp] L2Circuit local switching between different vlans

Michail Litvak sha90w at gmail.com
Sun Sep 18 04:41:29 EDT 2011


On Sun, Sep 18, 2011 at 8:57 AM, MSusiva <ssiva1086 at gmail.com> wrote:

Hi,

> I would like to know if it is possible to do l2circuit local-switching
> between two units (different VLAN!) on one physical GE-port on a MX router.
> The problem is that local-switching is only possible between SAME vlan-ids
> without additional configs (vlan input/output map swap/push/pop operations).

We use interface-switch in similar situation:

interfaces {
       xe-0/0/0 {
            flexible-vlan-tagging;
            mtu 9192;
            encapsulation flexible-ethernet-services;
            unit 123 {
                  vlan-id 123;
                  encapsulation vlan-ccc;
            }
            ..........
            unit 1123 {
                  vlan-id 1123;
                  encapsulation vlan-ccc;

            }
       }
}
........
protocols {
...........
connections {
        interface-switch vlan123 {
            interface xe-0/0/0.123;
            interface xe-0/0/0.1123;
        }
}

-- 
MYL2-RIPE


More information about the juniper-nsp mailing list