NetEngine AR600, AR6100, AR6200, and AR6300 V300R019 CLI-based Configuration Guide - Ethernet Switching

Configuring a QinQ VLAN Tag Termination Sub-interface

Configuring a QinQ VLAN Tag Termination Sub-interface

Context

A QinQ VLAN tag termination sub-interface can terminate double-tagged user packets.

A QinQ VLAN tag termination sub-interface connects to an L2VPN in symmetrical or asymmetrical mode. User packets are transmitted over an L2VPN in different modes. PEs process these packets in the ways described in the following tables.
Table 8-4 Packet processing on the inbound interface

Mode

VLL/PWE3

Ethernet Encapsulation

VLAN Encapsulation

Symmetrical

Strips the outer tag.

Reserves the double tags, and takes no action.

Asymmetrical

Strips the double tags.

Strips two tags and adds one tag.

Table 8-5 Packet processing on the outbound interface

Mode

VLL/PWE3

Ethernet Encapsulation

VLAN Encapsulation

Symmetrical

Adds the outer tag.

Replaces the outer tag.

Asymmetrical

Adds double tags.

Strips one tag and adds double tags.

Perform the following operations on a user-side interface of a PE.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subinterface-number

    The Ethernet sub-interface view is displayed.

    subinterface-number specifies the number of an Ethernet sub-interface.

  3. Run qinq termination l2 { symmetry | asymmetry }

    A mode of the QinQ VLAN tag termination sub-interface is configured.

    By default, a QinQ termination sub-interface uses the asymmetrical mode.

  4. Run qinq termination pe-vid pe-vid ce-vid ce-vid1 [ to ce-vid2 ]

    The sub-interface is configured to terminate double-tagged packets.