Configuring an MPLS-Based VLAN CCC with Pop, Push, and Swap and Control Passthrough
Overview
For providing Layer 2 VPN services across your network, you might want to configure the ability to push, pop or swap 802.1Q tags on frames entering and leaving edge routers, allowing you to use a single VLAN-circuit cross-connect (CCC) [VLAN-CCC] logical interface to handle both dual-tag and single-tag packets. This feature thus provides interoperability between Layer 2 services with a distinct VLAN at the local or remote end or in instances where a Layer 2 service comes with a certain VLAN, but the remote peer has a different VLAN or no VLAN.
This feature includes the ability to enable passthrough of certain Ethertype/DMAC-matched frames over the Layer 2 circuit after successful VLAN tag operations on the VLAN CCC logical interface.
If you configure this feature, VLAN tags are applied when traffic is sent to and from the Layer 2 circuit interface. The pop, push, and swap operations are performed only on the outer tag. The pop VLAN tag removes the VLAN tag from the top of the VLAN tag stack. The push VLAN tag adds a new outer VLAN tag, and the swap VLAN tag replaces the existing outer VLAN tag with the new VLAN tag.
You can configure inet, inet6, or VLAN-CCC connections on a single Ethernet network interface or an aggregated Ethernet interface, enabling you to set different forwarding rules for tagged and untagged traffic on the same interface. For example, you can forward tagged packets over the Layer 2 circuit and route untagged traffic in native VLAN mode.
Use Feature Explorer to confirm platform and release support for specific features.
Review the Platform-Specific MPLS-Based VLAN CCC Behavior section for notes related to your platform.
Platform-Specific MPLS-Based VLAN CCC Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific behavior for your platforms.
Platform |
Difference |
---|---|
ACX Series (Junos OS Evolved) |
|
PTX Series (Junos OS and Junos OS Evolved) |
|
Procedure
To configure a PE router with a VLAN CCC, an MPLS-based Layer 2 circuit, VLAN pop, push, and swap operations, and enabling passthrough of certain Ethertype/DMAC-matched frames:
The following procedure uses actual interface names for the router’s network interfaces instead of the variable interface-name so that you can quickly see their configuration differences. Remember that you can also configure the feature on aggregated Ethernet interfaces.