[j-nsp] L2Circuit local switching between different vlans

MSusiva ssiva1086 at gmail.com
Sun Sep 18 01:57:28 EDT 2011


Hi Experts,

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

Tried the below config on PE router to make this work

interfaces {

  ge-1/0/0 {

       vlan-tagging;

       encapsulation vlan-ccc;

       unit 1001 {

           encapsulation vlan-ccc;

           vlan-id 1001;

           }

       unit 1007 {

           encapsulation vlan-ccc;

           vlan-id 1007;

           }

       }

protocols

   l2circuit {

       local-switching {

           interface ge-1/0/0.1001 {

               end-interface {

                   interface ge-1/0/0.1007;

               }

               ignore-encapsulation-mismatch;

The config commits perfectly and there are no logged errors in messages but
it does not work.

Please let me know if there is a configuration to perform l2circuit local
switching between two different vlans.

Thanks,
SiVa


More information about the juniper-nsp mailing list