Navigation
Supported Platforms
Configuring Q-in-Q Tunneling (CLI Procedure)
Q-in-Q tunneling allows service providers on Ethernet access networks to segregate or bundle customer traffic into different VLANs by adding another layer of 802.1Q tags. You can configure Q-in-Q tunneling on EX Series switches.
![]() | Note: You cannot configure 802.1X user authentication on interfaces that have been enabled for Q-in-Q tunneling. |
Before you begin configuring Q-in-Q tunneling, make sure you set up your VLANs. See Configuring VLANs for EX Series Switches (CLI Procedure) or Configuring VLANs for EX Series Switches (J-Web Procedure).
To configure Q-in-Q tunneling:
- Enable Q-in-Q tunneling on the S-VLAN:
[edit vlans]
user@switch# set s-vlan-name dot1q-tunneling (VLANs) - Set the allowed C-VLANs on the S-VLAN (optional).
Here, the C-VLANs are identified by VLAN range:
[edit vlans]
user@switch# set s-vlan-name dot1q-tunneling customer-vlans range - Change the global Ethertype value (optional):
[edit]
user@switch# set ethernet-switching-options dot1q-tunneling ether-type ether-type-value - Disable MAC address learning on the S-VLAN (optional):
[edit vlans]
user@switch# set s-vlan-name no-mac-learning (Q-in-Q VLANs)