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

S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, and Layer 2 protocol transparent transmission.
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).
Configuring 802.1p Priority-based Selective QinQ

Configuring 802.1p Priority-based Selective QinQ

Context

802.1p priority-based selective QinQ allows an interface to add an outer VLAN tag based on 802.1p priorities and VLAN IDs of incoming packets. This ensures communication of high-priority users.

Procedure

  1. Configure 802.1p priority-based selective QinQ on an inbound interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run port link-type hybrid

      The link type of the interface is set to hybrid.

      By default, the link type of an interface is hybrid.

    4. Run port hybrid untagged vlan vlan-id

      The interface is added to a stacked VLAN.

    5. Perform either of the following operations as required on the inbound interface.

      • Run the port vlan-stacking 8021p 8021p-value stack-vlan vlan-id command to configure selective QinQ based on 802.1p priorities.

      • Run the port vlan-stacking vlan vlan-id1 [ to vlan-id2 ] 8021p 8021p-value1 [ to 8021p-value2 ] stack-vlan vlan-id3 [ remark-8021p 8021p-value3 ] command to configure selective QinQ based on VLAN IDs and 802.1p priorities.

      • To configure VLAN mapping and VLAN ID- and 802.1p priority-based selective QinQ on the incoming interface, run port vlan-stacking vlan vlan-id1 [ to vlan-id2 ] 8021p 8021p-value1 [ to 8021p-value2 ] stack-vlan vlan-id3 [ remark-8021p 8021p-value3 ] map-vlan vlan-id4.

        NOTE:

        LE1D2S04SEC0, LE1D2X32SEC0, LE1D2H02QEC0, and X series cards do not support this function.

        If selective QinQ and VLAN mapping are configured, the device can only map incoming packets.

      NOTE:
      • 802.1p priority-based selective QinQ takes effect only for incoming packets.
      • 802.1p priority-based selective QinQ can be enabled only on a trunk or hybrid interface.

  2. (Optional) Configure VLAN priority mapping on an outbound interface.

    When a differentiated service (DiffServ) domain has been created and priority mapping has been configured on the inbound interface, the internal priority of a packet may be different from the 802.1p priority. Therefore, you are advised to configure priority mapping on the outbound interface.

    1. Run system-view

      The system view is displayed.

    2. Run diffserv domain ds-domain-name

      A DiffServ domain is created and its view is displayed.

    3. Run 8021p-outbound service-class color map 8021p-value

      The switch is configured to map the internal priority of outgoing VLAN packets in the DiffServ domain to the 802.1p priority.

    4. Run quit

      Exit from the DiffServ domain view.

    5. Run interface interface-type interface-number

      The interface view is displayed.

    6. Run port link-type hybrid

      The link type of the interface is set to hybrid.

      By default, the link type of an interface is hybrid.

    7. Run port hybrid tagged vlan vlan-id

      The interface is added to the stacked VLAN.

    8. Run trust upstream ds-domain-name

      The DiffServ domain is bound to the interface and the mapping in the DiffServ domain is applied to the interface.

      By default, the internal priority is copied to the external priority.

Verifying the Configuration

  • Run the display this command in the inbound interface view to check the 802.1p priority-based selective QinQ configuration.
  • Run the display this command in the outbound interface view to check the 802.1p priority-based selective QinQ configuration.
Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038290

Views: 105539

Downloads: 24

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