Supported Platforms
Related Documentation
- EX Series
- Example: Setting Up Q-in-Q Tunneling on EX Series Switches
- Understanding Q-in-Q Tunneling on EX Series Switches
- EX Series, QFX Series standalone switches
- Verifying That Q-in-Q Tunneling Is Working
Configuring Q-in-Q Tunneling (CLI Procedure)
![]() | Note: This task uses Junos OS for EX Series switches that does not support the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that supports ELS, see Configuring Q-in-Q Tunneling (CLI Procedure). For ELS details, see Getting Started with Enhanced Layer 2 Software. |
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)
Related Documentation
- EX Series
- Example: Setting Up Q-in-Q Tunneling on EX Series Switches
- Understanding Q-in-Q Tunneling on EX Series Switches
- EX Series, QFX Series standalone switches
- Verifying That Q-in-Q Tunneling Is Working
Published: 2014-04-23
Supported Platforms
Related Documentation
- EX Series
- Example: Setting Up Q-in-Q Tunneling on EX Series Switches
- Understanding Q-in-Q Tunneling on EX Series Switches
- EX Series, QFX Series standalone switches
- Verifying That Q-in-Q Tunneling Is Working