Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX] Example Configuration - Q-in-Q Tunneling on EX4200



Article ID: KB31086 KB Last Updated: 29 Sep 2016Version: 1.0

This article provides an example configuration for Q-in-Q tunneling on EX4200. The mapping option allows you to assign an S-VLAN to a specific C-VLAN on an interface.


According to the Juniper documentation, Understanding Q-in-Q Tunneling on EX Series Switches:

"The mapping a specific interface approach has two suboptions for treatment of traffic: swap and push. When traffic that is mapped to a specific interface is pushed, the packet retains its tag as it moves between the S-VLAN and C-VLAN and an additional VLAN tag is added to the packet. When traffic that is mapped to a specific interface is swapped, the incoming tag is replaced with a new VLAN tag, as previously described in How VLAN Translation Works. You must specify a VLAN tag with the swap operation; you cannot use the native keyword."


[edit vlans] user@Bridge-A#
show v200 {
vlan-id 200;
interface {
ge-0/0/13.0 {
mapping {
100 {

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search