A bridge group is created and the bridge group view is displayed.
3. Run:
quit
Exit from the bridge group view.
4. Run:
interface { ethernet | gigabitethernet } interface-number.subinterface-
number
The Ethernet sub-interface view is displayed.
NOTE
Sub-interfaces can only be created on Layer 3 Ethernet interfaces. If an interface works in Layer
2 mode and supports switching between Layer 2 and Layer 3 modes, run the undo
portswitch command to switch the interface in Layer 3 mode before creating a sub-interface
on the interface.
5. Run:
bridge bridge-id
The Ethernet sub-interface is added to the bridge group.
6. Run:
bridge vlan-transmit enable
The interface is enabled to transparently transmit VLAN IDs.
7. Run:
vlan stacking { default | vid low-ce-vid [ to high-ce-vid ] } pe-vid pe-
vid [ remark-8021p 8021p-value2 ]
VLAN ID-based selective QinQ is configured.
NOTE
The VLANs allowed by all sub-interfaces of a main interface cannot overlap.
The vlan stacking default command can only be executed on a sub-interface among all sub-
interfaces of each main interface. Packets are forwarded through the default sub-interface when the
packets do not match other QinQ entries on a sub-interface.
l Configure 802.1p priority-based selective QinQ.
1. Run:
system-view
The system view is displayed.
2. Run:
bridge bridge-id
A bridge group is created and the bridge group view is displayed.
3. Run:
quit
Exit from the bridge group view.
4. Run:
interface { ethernet | gigabitethernet } interface-number.subinterface-
number
The Ethernet sub-interface view is displayed.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
4 QinQ Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
132