6
•
When you use the
vlan-type dot1q vid second-dot1q
command to configure ambiguous
QinQ termination multiple times, one of the following conditions occurs:
{
If the most recently specified Layer 1 ID is the same as the current Layer 1 ID, the specified
Layer 2 IDs in both configurations take effect.
{
If the most recently specified Layer 1 ID is different from the current Layer 1 ID, you must
first delete the old configuration.
To configure ambiguous QinQ termination:
Step 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
•
Enter L3VE subinterface view:
interface ve-l3vpn
interface-number.subnumber
•
Enter Reth subinterface view:
interface reth
interface-number.subnumber
N/A
3.
Configure ambiguous
QinQ termination by
specifying the outermost
two layers of VLAN IDs.
vlan-type dot1q vid
vlan-id-list
second-dot1q
{
vlan-id-list
|
any
} [
loose
]
By default, QinQ
termination is disabled on
a subinterface.
Configuring unambiguous QinQ termination
Step
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
•
Enter L3VE subinterface view:
interface ve-l3vpn
interface-number.subnumber
•
Enter Reth subinterface view:
interface reth
interface-number.subnumber
N/A
3.
Configure unambiguous
QinQ termination by
specifying the outermost two
layers of VLAN IDs.
vlan-type dot1q vid
vlan-id
second-dot1q vlan-id
[
loose
]
By default, QinQ termination
is disabled on a subinterface.