Navigation
Supported Platforms
Related Documentation
- EX, MX Series
- MX Series Router Cloud CPE Multiple Ethernet Interface Services Overview
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router (One Bridge Domain per VLAN)
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router (All VLANs in One Bridge Domain)
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router Using a Q-in-Q Tunnel
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface and Routed VLAN Interface Services
Configuring the Q-in-Q Tunnel on the Aggregation Switch (EX Series Ethernet Switch)
![]() | Note: This procedure assumes you are using a Juniper Networks EX Series Ethernet Switch for the aggregation switch. |
To configure the Q-in-Q tunnel:
- Configure the physical and logical interfaces for the
subscriber’s Ethernet LAN.
- Configure the physical and logical interface.[edit]user@host# edit interfaces ge-0/0/2 unit 0
- Configure the protocol family for the logical interface
on the switch. [edit interfaces ge-0/0/2 unit 0]user@host# edit family ethernet-switching
- Configure the interface to operate in access mode. [edit interfaces ge-0/0/2 unit 0 family ethernet-switching]user@host# set port-mode access
- Bind the subscriber VLAN to the logical interface.
- Configure the physical and logical interface.
- Configure the VLAN trunk port for the WAN link.
- Configure the physical and logical interface.user@host# topuser@host# edit interfaces ge-0/0/23 unit 0
- Configure the protocol family.[edit interfaces ge-0/0/23 unit 0]user@host# edit family ethernet-switching
- Configure the WAN link as a trunk interface.[edit interfaces ge-0/0/23 unit 0 family ethernet-switching]user@host# set port-mode trunk
- Configure the subscriber VLAN on the trunk interface.
- Configure the physical and logical interface.
- Configure the switching options for the tunnel.
- Configure the subscriber VLANs.
- Configure the VLAN name.[edit]user@host# edit vlans qinq-1000
- Configure the VLAN ID.[edit vlans qinq-1000]user@host# set vlan-id 1000
- Configure the interfaces for the VLAN.
- Enable Q-in-Q tunneling on the subscriber VLANs.[edit vlans qinq-1000]user@host# set dot1q-tunneling customer-vlans 105user@host# set dot1q-tunneling customer-vlans 106
- Configure the VLAN name.
Related Documentation
- EX, MX Series
- MX Series Router Cloud CPE Multiple Ethernet Interface Services Overview
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router (One Bridge Domain per VLAN)
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router (All VLANs in One Bridge Domain)
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router Using a Q-in-Q Tunnel
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface and Routed VLAN Interface Services
Modified: 2015-10-29
Supported Platforms
Related Documentation
- EX, MX Series
- MX Series Router Cloud CPE Multiple Ethernet Interface Services Overview
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router (One Bridge Domain per VLAN)
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router (All VLANs in One Bridge Domain)
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface Services—Extending Subscriber VLANs to the PE Router Using a Q-in-Q Tunnel
- Configuring MX Series Router Cloud CPE Multiple Ethernet Interface and Routed VLAN Interface Services