![Juniper JUNOS OS 10.3 - SOFTWARE Manual Download Page 1482](http://html.mh-extra.com/html/juniper/junos-os-10-3-software/junos-os-10-3-software_manual_20327931482.webp)
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)” on page 1378 or “Configuring
VLANs for EX Series Switches (J-Web Procedure)” on page 1375.
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
Related
Documentation
Example: Setting Up Q-in-Q Tunneling on EX Series Switches on page 1347
•
•
Verifying That Q-in-Q Tunneling Is Working on page 1400
•
Understanding Q-in-Q Tunneling on EX Series Switches on page 1293
Configuring GVRP (J-Web Procedure)
As a network expands and the number of clients and VLANs increases, VLAN
administration becomes complex, and the task of efficiently configuring VLANs on multiple
EX Series switches becomes increasingly difficult. To automate VLAN administration,
you can enable GARP VLAN Registration Protocol (GVRP) on the network.
GVRP learns VLANs on a particular 802.1Q trunk port and adds the corresponding trunk
interface to the VLAN if the advertised VLAN is preconfigured or already exists on the
switch. For example, a VLAN named “sales” is advertised to trunk interface 1 on the
GVRP-enabled switch. The switch adds trunk interface 1 to the sales VLAN if the sales
VLAN already exists on the switch.
Copyright © 2010, Juniper Networks, Inc.
1386
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...