[j-nsp] l2circuit between vlan-ccc and ethernet-ccc

sthaug at nethelp.no sthaug at nethelp.no
Fri Oct 28 16:25:11 EDT 2005


> > How the heck do you set up an l2circuit between a vlan-ccc interface (.1q 
> > tagged on the handoff) on one end, and a ethernet-ccc handoff (not .1q 
> > tagged) on the other end? If you just configure it like normal you get 
> > EM/encapsulation mismatch on the l2circuit, but since the .1q tag is not 
> > included in the actual payload put on the LSP, they should actually be the 
> > same packet internally yes?
> 
> Um, why do you think the .1q tag is not put on the LSP for the vlan-ccc
> interface? As far as I know it is.
> 
> You may be able to get around this by using a vlan-map with an explicit
> pop/push operation (haven't tried it though).

Tried it, it *appears* to work (l2circuit comes up):

ge-1/3/0 {
    vlan-tagging;
    encapsulation vlan-ccc;
    unit 513 {
        encapsulation vlan-ccc;
        vlan-id 513;
        input-vlan-map pop;
        output-vlan-map push;
    }
}

l2circuit {
    neighbor a.b.c.d {
        interface ge-1/3/0.513 {
            virtual-circuit-id 999;
        }
    }
}

and

fe-3/2/3 {
    encapsulation ethernet-ccc;
    unit 0;
}
l2circuit {
    neighbor e.f.g.h {
        interface fe-3/2/3.0 {
            virtual-circuit-id 999;
        }
    }
}

Haven't verified that traffic actually gets through though.

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the juniper-nsp mailing list