customer traffic within a single site or to enable customer traffic flows across geographic
locations.
Q-in-Q tunneling adds a service VLAN tag before the customer’s 802.1Q VLAN tags. The
Juniper Networks Junos operating system implementation of Q-in-Q tunneling supports
the IEEE 802.1ad standard.
In Q-in-Q tunneling, as a packet travels from a customer VLAN (C-VLAN) to a service
provider's VLAN (S-VLAN), another 802.1Q tag for the appropriate S-VLAN is added
before the C-VLAN tag. The C-VLAN tag remains and is transmitted through the network.
As the packet exits from the S-VLAN space, in the downstream direction, the S-VLAN
802.1Q tag is removed.
In ACX Series routers, you can configure Q-in-Q tunneling by explicitly configuring an
input VLAN map with push function on customer facing interfaces in a bridge domain.
You can configure Q-in-Q tunneling on aggregated Ethernet interface by configuring
input and output VLAN map.
Related
Documentation
Layer 2 Bridge Domains on ACX Series Overview on page 755•
• Layer 2 Learning and Forwarding for Bridge Domains Overview on page 759
• Configuring a Bridge Domain on ACX Series Routers on page 760
• Configuring Q-in-Q Tunneling on ACX Series on page 771
• Configuring VLAN Identifiers for Bridge Domains in ACX Series on page 764
• Disabling MAC Learning for Bridge Domains on ACX Series on page 765
• Configuring Static MAC Addresses for Logical Interfaces in a Bridge Domain in ACX
Series on page 766
• Configuring the Size of the MAC Address Table for Bridge Domains in ACX Series on
page 766
Configuring Q-in-Q Tunneling on ACX Series
To configure Q-in-Q tunneling, you need to configure the logical interface connected to
the customer network (user-to-network interfaces (UNI)) and the logical interface
connected to the service provider network (network-to-network interface (NNI)).
The following is an example to configure a logical interface connected to a customer
network:
[edit]
interface ge-1/0/1 {
flxible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
encapsulation vlan-bridge;
vlan-id-list 10-20;
input-vlan-map {
push;
771Copyright © 2017, Juniper Networks, Inc.
Chapter 24: Configuring Layer 2 Bridging and Q-in-Q Tunneling