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

CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
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

When packets are sent from one LAN to another, if different networks use different priority policies, their 802.1p priorities need to be changed. You can configure 802.1p priority-based VLAN mapping on the LAN edge device to map 802.1p priorities in received packets. Then the LAN edge device forwards packets based on mapped 802.1p priorities.

Procedure

  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.

    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 Ethernet sub-interface is enabled to transparently transmit VLAN IDs.

  7. Run vlan allow-pass { vid vlan-id1 [ to vlan-id2 ] | default }

    The VLANs allowed by the Ethernet sub-interface are configured.

    NOTE:

    VLANs allowed by all sub-interfaces of a main interface cannot overlap.

    The vlan allow-pass default command can be executed only 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 or VLAN mapping entries on a sub-interface.

  8. Run vlan mapping 8021p 8021p-value1 map-8021p 8021p-value2

    802.1p priority-based VLAN mapping is configured.

Download
Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 57706

Downloads: 40

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