Hi Abdul,
Please find the sample config below. Find the Topology used in the attachment.
On CE devices:
root# show vlans >>>> Customer VLAN
CVLAN {
vlan-id 100;
}
root# show interfaces ge-0/0/7 >>>> Interface connected to PE
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members CVLAN;
}
}
}
On PE devices:
root# show interfaces ge-0/0/0 >>>> Interface connected to PE
flexible-vlan-tagging;
encapsulation extended-vlan-bridge;
ether-options {
ethernet-switch-profile {
tag-protocol-id 0x88a8;
}
}
unit 10 {
vlan-id 100;
}
root# show interfaces ge-0/0/7 >>>> Interface connected to CE
flexible-vlan-tagging;
encapsulation extended-vlan-bridge;
unit 10 {
vlan-id-list 100;
input-vlan-map push; /*Add a new VLAN tag to the top of the VLAN stack*/
output-vlan-map pop; /*Remove the VLAN tag from the top of the VLAN tag stack*/
}
root# show vlans >>>> SP VLAN
SVLAN {
interface ge-0/0/0.100;
interface ge-0/0/7.100;
}
root# run show vlans
Routing instance VLAN name Tag Interfaces
default-switch SVLAN NA ge-0/0/0.100
ge-0/0/7.100*
input-vlan-map: define the rewrite profile to be applied to incoming frames on this logical interface.
output-vlan-map: define the rewrite operation to be applied to outgoing frames on this logical interface.
Please let me know if you have any questions.
Regards,
David