Junos
Junos

QinQ (many to one) over L2vpn (l2circuit) MX

‎05-05-2019 05:03 AM

Hello,

I need help setting up such a scheme:

CE1---(two tag [100]{300-350})---PE1---(L2vpn over MPLS)---PE2---(one tag{300-350})---CE2

I tried the following settings:

1)

PE1

show interfaces ge-0/0/1
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;
vlan-id 100;

 

PE2

show interfaces ge-0/0/0
flexible-vlan-tagging;
native-vlan-id 100;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;
vlan-id 100;

2)

PE1

show interfaces ge-0/0/1
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;
vlan-id-range 300-350;

PE2

show interfaces ge-0/0/0
flexible-vlan-tagging;
native-vlan-id 100;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;
vlan-id-range 300-350;

input-vlan-map pop

output-vlan-map push vlan-id 100

3)

PE1

show interfaces ge-0/0/1
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;

vlan-tags outer 100 inner-range 300-350;

 

PE2

show interfaces ge-0/0/0
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;
vlan-tags outer 100 inner-range 300-350;

 

l2vpn mirror PE

show protocols l2circuit
neighbor 192.168.1.1 {
interface ge-0/0/1.100 {
virtual-circuit-id 1

 

And this is all not working.
Where is my mistake?

1 REPLY 1
Junos

Re: QinQ (many to one) over L2vpn (l2circuit) MX

‎05-06-2019 07:25 AM

the solution for qinq

PE1

show interfaces ge-0/0/1
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 100{
encapsulation vlan-ccc;
vlan-id 100;

PE2

show interfaces ge-0/0/0
encapsulation ethernet-ccc;
unit 0 {
input-vlan-map {
push;
vlan-id 100;
}
output-vlan-map pop;

 

herewith  l2circuit  encapsulation vlan-ccc 

 

look for solutions for selective qinq.