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 V200R013C00 Configuration Guide - QoS

This document describes the configurations of QoS functions, including MQC, priority mapping, traffic policing, traffic shaping, interface-based rate limiting, congestion avoidance, congestion management, packet filtering, redirection, traffic statistics, ACL-based simplified traffic policy, and HQoS.
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).
Specifying the Packet Priority Trusted on an Interface

Specifying the Packet Priority Trusted on an Interface

Context

The priority trusted on an interface determines which type of priority to be mapped for packets on the interface.

Either of the following priorities can be trusted on an interface:

  • 802.1p priority

    • When receiving a VLAN-tagged packet, the device searches the mapping table for the 802.1p priority of the packet, and then tags the packet with the mapping internal priority.
    • When receiving an untagged packet, the device searches the mapping table for the default 802.1p priority, and then tags the packet with the mapping internal priority.
  • DSCP priority

    When receiving a packet, the device searches the mapping table for the DSCP priority of the packet, and then tags the packet with the mapping internal priority.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run trust { 8021p { inner | outer } | dscp }

    The priority trusted on the interface is specified.

    By default, an interface trusts 802.1p priorities in outer VLAN tags.

    NOTE:
    • SA series cards:

      • If you run the trust 8021p inner command on an inbound interface of packets, the device maps 802.1p priorities in outer VLAN tags to PHBs and colors.
      • If you run the trust 8021p outer command on an inbound interface of packets, the device maps 802.1p priorities in outer VLAN tags to PHBs and colors. Untagged packets enter queues based on the default 802.1p priority on an interface.
    • E series cards and SC series cards:

      • On the inbound interface of packets, the device maps packet priorities to PHBs and colors based on the actual settings.
      • If you run the trust 8021p inner command on an outbound interface of double-tagged packets, the 802.1p priority in the outer VLAN tag mapped to the PHB and color is added to the 802.1p priority field of the outer VLAN tag.
    • When the device removes outer tags from outgoing double-tagged packets, outbound priority mapping is valid on X series cards only.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065653

Views: 18998

Downloads: 45

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