Configuring ambiguous QinQ termination
To configure ambiguous QinQ termination on a Layer 3 Ethernet/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.
VLAN termination configuration examples
NOTE:
Only the SPE cards support VLAN termination.
Unambiguous QinQ termination configuration example
Network requirements
As shown in
C, which supports only single VLAN-tagged packets. With QinQ enabled, Switch B adds an outer VLAN
tag with VLAN ID 100 to Dot1q packets carrying inner VLAN ID 1 1 before forwarding them. Host A
needs to be able to communicate with Host B.
Figure
49, Host A connects to Switch A and belongs to VLAN 1 1. Host B connects to Switch
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 { any | vlan-id-list }
126
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.