Is it possible to use a single interface as both the provider port and the customer port for a QinQ setup on a Juniper EX 4200 switch?

I have a set of switches "on a stick" attached to the network. I want to use this ae0 to take in a number of C-VLANS (10,20,30) but then encapsulate them as the S-VLAN (1000) and send the newly minted S-VLAN packets back out port 1000. Is it possible?

  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Nov 19, 2022 at 21:38

1 Answer 1


Can you do something like this:

set interface ge-0/0/1 unit 0 family ethernet-switching vlan members all

set vlans thousand dot1q-tunnelling customer-vlans 10-30
set vlans thousand vlan-id 1000
set vlans thousand interface ge-0/0/1.0


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.