Configuring Qinq Termination; Configuring Unambiguous Qinq Termination - H3C SR8800 Configuration Manual

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

Configuring QinQ termination

Based on the range of VLAN IDs in the VLAN-tagged packets that can be terminated by a subinterface,
QinQ termination falls into the following two categories:
Unambiguous QinQ termination—Terminates QinQ packets with the specified inner VLAN ID and
outer VLAN ID. Any other QinQ packet is not allowed to pass through this subinterface. When a
packet is sent out the subinterface, the packet is tagged with two VLAN tags as specified.
Ambiguous QinQ termination—Terminates VLAN-tagged packets with the specified outer VLAN ID
and the inner VLAN IDs in the specified range. These QinQ packets may have different inner VLAN
IDs. VLAN-tagged packets whose inner VLAN IDs are not in the range are not allowed to pass
through this subinterface. When a packet is sent out the subinterface, the packet is tagged with the
specified outer VLAN ID and an inner VLAN ID: for an IPv4/MPLS packet, the inner VLAN ID is
obtained by searching the ARP entries; for a PPPoE packet, the inner VLAN ID is obtained by
searching the PPPoE session entries; for a DHCP relay packet, the inner VLAN ID is obtained by
searching the DHCP session entries.

Configuring unambiguous QinQ termination

To configure unambiguous QinQ termination on a Layer 3 Ethernet subinterface, Layer 3 aggregate
subinterface, or VLAN interface:
Step
1.
Enter system view
2.
Enter interface view.
3.
Enable QinQ termination on
the subinterface or VLAN
interface, and configure the
subinterface or VLAN
interface to terminate the
QinQ packets with the
specified inner VLAN ID.
NOTE:
After you enable QinQ termination on a VLAN interface, Layer 2 Ethernet interfaces in the corresponding
VLAN process only QinQ packets destined for the VLAN interface, and drop Dot1q and
non-VLAN-tagged packets.
Command
system-view
Enter Layer 3 Ethernet interface view:
interface interface-type
interface-number.subnumber
Enter Layer 3 aggregate interface
view:
interface route-aggregation
interface-number.subnumber
Enter VLAN interface view:
interface vlan-interface
interface-number
second-dot1q vlan-id
125
Remarks
N/A
Use one of the commands.
The outer VLAN ID of the
QinQ packets that can be
terminated by the current
subinterface or VLAN
interface is the interface
number, and is not
configurable.

Advertisement

Table of Contents
loading

Table of Contents