R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
158
Ste
p
Command
Remarks
2. Enter interface view.
• Enter Layer 3 Ethernet subinterface
view:
interface interface-type
interface-number.subnumber
• Enter Layer 3 aggregate subinterface
view:
interface route-aggregation
interface-number.subnumber
Use one of the commands.
3. Enable Dot1q termination on
the subinterface, and
configure the subinterface to
terminate the VLAN-tagged
packets whose outermost
VLAN IDs match the specified
VLAN ID.
vlan-type dot1q vid vlan-id
By default, Dot1q termination
is not enabled.
Configuring ambiguous Dot1q termination
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
• Enter Layer 3 Ethernet subinterface
view:
interface interface-type
interface-number.subnumber
• Enter Layer 3 aggregate
subinterface view:
interface route-aggregation
interface-number.subnumber
Use one of the commands.
3. Enable Dot1q termination on
the subinterface, and
configure the subinterface to
terminate the VLAN-tagged
packets whose outermost
VLAN IDs match the specified
VLAN IDs.
vlan-type dot1q vid vlan-list
By default, Dot1q termination
is not enabled.
Configuring QinQ termination
Based on the range of outermost two layers of VLAN IDs in the VLAN-tagged packets that can be
terminated by a subinterface, QinQ termination includes the following categories:
• Unambiguous QinQ termination—Terminates packets whose outermost two layers of VLAN IDs
match the specified values and does not allow any other VLAN-tagged packet to pass through this
subinterface. When the subinterface receives a packet, it removes the two layers of VLAN tags of
the packet. When the subinterface sends out the packet, it tags the packet with two layers of VLAN
tags as specified.