Sunday, March 13, 2016

Configuring VLAN ID-based QinQ Stacking on Huawei Router

Background
QinQ mitigates VLAN ID shortage and is widely applied when users connect to carrier networks.
When private networks connect to a carrier network through CEs and PEs, run the qinq
stacking command on CE interfaces connected to PEs so that the CE interfaces add the outer VLAN tag allocated by the carrier to user packets. This implementation saves VLAN IDs and allows user packets to be transparently transmitted on the carrier network.
The configuration overview:
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bridge bridge-id
A bridge group is created and the bridge group view is displayed.
Step 3 Run:
quit
Exit from the bridge group view.
Step 4 Run:
interface { ethernet | gigabitethernet }.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.
Step 5 Run:
bridge bridge-id
The Ethernet sub-interface is added to the bridge group.
Step 6 Run:
bridge vlan-transmit enable
The interface is enabled to transparently transmit VLAN IDs.
Step 7 Run:
qinq stacking vid low-ce-vid [ to high-ce-vid ] pe-vid pe-vid [ remark-8021p 8021pvalue2]
VLAN ID-based QinQ stacking is configured.
—-End
This configuration works for Huawei router, such as Huawei AR1200Huawei AR2220Huawei AR3200Huawei AR2200

Telephone: 852-30623083
           Supports@Thunder-link.com            

No comments:

Post a Comment