[an error occurred while processing this directive] [an error occurred while processing this directive]

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.

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:

  1. Enable Q-in-Q tunneling on the S-VLAN:

    [edit vlans]
    user@switch# set s-vlan-name dot1q-tunneling
  2. 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
  3. Change the global Ethertype value (optional):

    [edit]
    user@switch# set ethernet-switching-options dot1q-tunneling ether-type ether-type-value
  4. Disable MAC address learning on the S-VLAN (optional):

    [edit vlans]
    user@switch# set s-vlan-name no-mac-learning

Published: 2009-07-22

[an error occurred while processing this directive]