This article provides information about the support extended by the MX Series platform for the Pop without Push and Push without Pop of VLAN tags.
As of Junos 11.2R1, it is not supported; it may be added in future releases as an Enhancement Request.
Possible configuration for both scenarios:
Pop without push:
VLAN 42 comes in on the trunk port (or one with vlan-bridge encap); take it off and send it out of an access port (or one with ethernet-bridge encap). Both IFL's are in the same Bridge Domain. The configuration is as follows:
[edit interfaces]
ge-0/2/5 {
vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
encapsulation vlan-bridge;
vlan-id 42;
}
}
ge-0/2/6 {
encapsulation ethernet-bridge;
unit 0;
}
[edit]
bridge-domains {
vlan42 {
vlan-id 42;
interface ge-0/2/5.0;
interface ge-0/2/6.0;
}
}
Push without pop:
VLAN 42 comes in on the trunk port (or one with vlan-bridge encap); add VLAN 43 on top of it. The configuration is as follows:
[edit interfaces]
ge-0/0/0 {
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
encapsulation vlan-bridge;
vlan-id 42;
input-vlan-map {
push;
vlan-id 43;
}
output-vlan-map pop;
}
}
[edit]
bridge-domains {
vlan43 {
vlan-id 43;
interface ge-0/0/0.0;
}
}
You can use any 3D hardware and logical systems to test pings. For example:
MX80(logical-system A)---ge-0/0/0-ge-0/0/1---MX80(doing the BD tasks)---0/0/2-ge-0/0/3---MX80(logical-system B)