No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Selective QinQ

Selective QinQ

Selective QinQ, also called VLAN stacking or QinQ stacking, is performed based on interfaces and VLAN IDs. In addition to basic QinQ functions, selective QinQ has the following functions:
  • VLAN ID-based selective QinQ: adds outer VLAN tags based on inner VLAN IDs.
  • 802.1p priority-based selective QinQ: adds outer VLAN tags based on 802.1p priorities in inner VLAN tags.
  • Traffic policy-based selective QinQ: adds outer VLAN tags based on traffic policies so that differentiated services can be provided based on service types.

Selective QinQ is an extension of basic QinQ and is more flexible. The difference is as follows:

  • Basic QinQ: adds the same outer VLAN tag to all packets arriving at a Layer 2 interface.

  • Selective QinQ: adds different outer VLAN tags to packets arriving at a Layer 2 interface based on inner VLAN tags.

In Figure 10-4, Department 1 and Department 2 have multiple offices.

Figure 10-4  Networking diagram of selective QinQ

Table 10-2  VLAN plan for Department 1 and Department 2

Device

Interface

VLAN ID Range

Outer VLAN ID

PE1

Port1

2 to 500

10

Port1

1000 to 2000

20

Port2

100 to 500

10

PE2

Port1

1000 to 4094

20

Port2

500 to 2500

20

  • Department 1 uses VLANs 2 to 500.

  • Department 2 uses VLANs 500 to 4094.

  • Port1 on PE1 receives packets from VLANs of Department 1 and Department 2 simultaneously.

Selective QinQ is configured on PE1 and PE2 in the following way to implement communication within each department and isolate the two departments.

  • Configure outer VLAN tags for packets received on interfaces of PE1 and PE2 according to Table 10-2.

  • Configure Port3 on PE1 and Port3 on PE2 to allow packets of VLAN 20 to pass.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 270998

Downloads: 420

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next