You can configure Q-in-Q tunneling with L2 swap-push/pop-swap in which the customer VLAN (C-VLAN) tag is swapped with the inner-vlan-id tag, and the service-provider-defined service VLAN (S-VLAN) tag is pushed on it (for traffic flowing from customer to service provider site).
For the traffic flowing from the service provider network to the customer network, we've removed the S-VLAN tag, and replaced the C-VLAN tag with the VLAN ID configured on the UNI logical interface. To support DHCP security along with Q-in-Q tunneling, you can configure the following
DHCP security features:
| Product / Application | Software | Introduced Release |
|---|---|---|
| EX2300 | Junos OS | 23.4R1 |
| EX3400 | Junos OS | 23.4R1 |
| EX4000-8P | Junos OS | 24.4R1-S2 |
| EX4000-12P | Junos OS | 24.4R1-S2 |
| EX4000-12MP | Junos OS | 24.4R1-S2 |
| EX4000-12MP | Junos OS | 24.4R1 |
| EX4000-12T | Junos OS | 24.4R1-S2 |
| EX4000-24P | Junos OS | 24.4R1-S2 |
| EX4000-24MP | Junos OS | 24.4R1-S2 |
| EX4000-24MP | Junos OS | 24.4R1 |
| EX4000-24T | Junos OS | 24.4R1-S2 |
| EX4000-48P | Junos OS | 24.4R1-S2 |
| EX4000-48MP | Junos OS | 24.4R1-S2 |
| EX4000-48MP | Junos OS | 24.4R1 |
| EX4000-48T | Junos OS | 24.4R1-S2 |
| EX4100 | Junos OS | 23.4R1 |
| EX4100-F | Junos OS | 23.4R1 |
| EX4100-H-12MP | Junos OS | 24.4R1 |
| EX4100-H-24F | Junos OS | 24.4R1 |
| EX4100-H-24MP | Junos OS | 24.4R1 |
| EX4300 Multigigabit | Junos OS | 23.4R1 |
| EX4400 | Junos OS | 23.4R1 |
| EX4400 Multigigabit | Junos OS | 23.4R1 |
| EX4400-24X | Junos OS | 23.4R1 |