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).
Configuring 802.1p Priority-based VLAN Mapping

Configuring 802.1p Priority-based VLAN Mapping

Context

After 802.1p priority-based VLAN mapping is configured on a switch, the switch processes VLAN tags of packets flexibly based on the 802.1p priority. Communication of users with a higher priority is ensured.

Procedure

  • Configuring VLAN mapping on the inbound interface based on the 802.1p priority
    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 | trunk }

      The port link-type is set.

    4. Run either of the following commands as required:

      • To configure VLAN mapping on the inbound interface based on the 802.1p priority, run port vlan-mapping 8021p 8021p-value map-vlan vlan-id [ remark-8021p 8021p-value2 ].

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

      NOTE:

      VLAN mapping based on the 802.1p priority is not supported on the SA boards of S series.

  • (Optional) Configuring VLAN mapping on the outbound interface based on the 802.1p priority

    If the DiffServ domain is created on the inbound interface and VLAN mapping is configured based on the priority, the internal priority may be different from the 802p.1 priority. You are advised to configure VLAN mapping on the outbound interface based on the 802.1p priority.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      diffserv domain ds-domain-name

      The DiffServ domain is created, and the DiffServ domain view is displayed.

    3. Run:

      8021p-outbound service-class color map 8021p-value

      The internal priority of VLAN packets on the outbound interface in the DiffServ domain is mapped to the 802.1p priority.

    4. Run:

      quit

      The DiffServ domain view is quit.

    5. Run:

      interface interface-type interface-number

      The interface view is displayed.

    6. Run:

      trust upstream ds-domain-name

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

      By default, an internal priority remains the same after being mapped to an external priority.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 257490

Downloads: 408

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