Here is my solution:
et-0/0/32 and et-0/0/33 are interfaces to the customer
QinQ vlans 1-101 , regular vlan 102, vlan on the router 1001
VLAN102 is remaped to VLAN1001
set interfaces et-0/0/32 flexible-vlan-tagging
set interfaces et-0/0/32 encapsulation flexible-ethernet-services
et interfaces et-0/0/32 description SRV1-vnic1
set interfaces et-0/0/32 enable
set interfaces et-0/0/32 flexible-vlan-tagging
set interfaces et-0/0/32 encapsulation flexible-ethernet-services
set interfaces et-0/0/32 unit 102 encapsulation vlan-bridge
set interfaces et-0/0/32 unit 102 vlan-id 102
set interfaces et-0/0/32 unit 102 input-vlan-map swap
set interfaces et-0/0/32 unit 102 output-vlan-map swap
set interfaces et-0/0/32 unit 102 family ethernet-switching vlan members v1001
set interfaces et-0/0/32 unit 2100 encapsulation vlan-bridge
set interfaces et-0/0/32 unit 2100 vlan-id-list 1-101
set interfaces et-0/0/32 unit 2100 input-vlan-map push
set interfaces et-0/0/32 unit 2100 output-vlan-map pop
set vlans q-in-q interface et-0/0/32.2100
set vlans q-in-q interface et-0/0/33.2100
set vlans v1001 vlan-id 1001
------------------------------
ANATOLII SUKHOMLIN
------------------------------
Original Message:
Sent: 08-29-2023 02:43
From: ANATOLII SUKHOMLIN
Subject: Selective QinQ on QFX
Hi!
I have properly working QinQ on the QFX. All C-VLANs from customers are double-tagged with S-VLAN.
Is it possible to pass one or many C-VLANs without double tagging?
For example, Vlans range 1-101 should be double tagged with ID 1000, but Vlan 102 must be a regular VLAN.
Thanks for your help.
------------------------------
ANATOLII SUKHOMLIN
------------------------------