Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Step 3 Run:
port hybrid untagged vlan vlan-id
The interface is added to the stacked VLAN in untagged mode.
The stacked outer VLAN must a VLAN existing on the S7700, but the VLANs before VLAN
stacking do not need to be created on the S7700.
----End
5.4.4 Configuring Selective QinQ
Context
Do as follows on the S7700 where you need to configure selective QinQ.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The interface view is displayed.
Step 3 Run:
port vlan-stacking vlan vlan-id1 [ to vlan-id2 ] stack-vlan vlan-id3 [
remark-8021p 8021p-value ]
The selective QinQ is configured. The meanings of the parameters are as follows:
l vlan-id1 [ to vlan-id2 ] specifies the C-VLAN ID of the VLAN to which you need to add the
VLAN tag.
l stack-vlan vlan-id3 specifies the VLAN ID of the outer VLAN tag to be added.
l [ remark-8021p 8021p-value ] specifies the internal priority in the stacked outer VLAN tag.
NOTE
An interface learns the MAC address from the outer VLAN tag of a QinQ packet.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 5 QinQ Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
194