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).
Packets Enter Incorrect Queues

Packets Enter Incorrect Queues

Common Causes

This fault is commonly caused by one of the following:
  • The priority mappings configured in the DiffServ domain bound to the inbound interface do not meet requirements.
  • There are configurations affecting packet queuing on the inbound interface.
  • There are configurations affecting packet queuing in the VLAN to which the packets belong.
  • There are configurations affecting packet queuing in the system.
NOTE:

On the ET1D2L02QSC0 card of the S12700, only queues 0, 1, 2, and 6 are available for unknown unicast packets, and queues 0 to 7 are available for known unicast packets. For details, see Default Settings for Priority Mapping.

Procedure

  1. Check whether priority mappings are correct.

    Run the display this command in the inbound interface view and check the configuration of the trust upstream command. Then, run the display diffserv domain name domain-name command to check whether the priority mappings configured in the trusted DiffServ domain are correct.

    • If not, run the ip-dscp-inbound, mpls-exp-inbound or 8021p-inbound command to correctly configure priority mappings.
    • If so, go to step 2.

  2. Check whether any configurations are affecting packet queuing on the inbound interface.

    The following configurations affect the queues that packets enter on the inbound interface:
    • If the port vlan-stacking, port vlan-stacking 8021p, or port vlan-stacking vlan 8021p command is configured with remark-8021p specified, the priorities of packets are re-marked. Local priorities are assigned based on the re-marked 802.1p priorities, so packets do not enter the expected queues according to the priority mapping configuration.
    • If the port vlan-mapping 8021p, port vlan-mapping vlan 8021p, port vlan-mapping vlan map-vlan command is configured with remark-8021p specified, the 802.1p priorities of packets are re-marked. Local priorities are assigned based on the re-marked 802.1p priorities, so packets do not enter the expected queues according to the priority mapping configuration.
    • If the packets match a traffic policy that is applied to the inbound direction (using the traffic-policy command) and contains a remark local-precedence traffic behavior, the system sends packets to queues based on the re-marked local priorities.
    • If the packets match a traffic policy that is applied to the inbound direction (using the traffic-policy command) and contains a remark 8021p or remark dscp traffic behavior, the system assigns local priorities to packets based on the re-marked priorities of packets and sends the packets to queues based on the local priorities.
    • If the packets match a traffic policy that is applied to the inbound direction (using the traffic-policy command) and contains an add-tag vlan-id traffic behavior, the system adds an outer VLAN tag to tagged packets that it receives and maps the priorities in the original VLAN tag of packets to local priorities. For untagged packets, the system adds an outer VLAN tag to the packets, maps the default priority of the interface to a local priority, and sends the packets to a queue based on the mapped local priority.
    • If the trust upstream none command is configured, the system does not perform priority mapping for any packets received on the interface. All the incoming packets enter the queue mapped to the interface priority.
    • If the port link-type dot1q-tunnel command is configured but the trust 8021p inner command is not, all the incoming packets enter the queue mapped to the interface priority.

    Run the display this command in the inbound interface view to check whether any of the preceding commands are configured on the interface.

    • If so, delete or modify the configuration as required.
    • If not, go to step 3.

  3. Check whether any configurations are affecting packet queuing in the VLAN to which the packets belong.

    The following configurations affect packet queuing in a VLAN:

    • If the packets match a traffic policy that is applied to the inbound direction (using the traffic-policy command) and contains a remark local-precedence traffic behavior, the system sends packets to queues based on the re-marked PHBs.
    • If the packets match a traffic policy that is applied to the inbound direction (using the traffic-policy command) and contains a remark 8021p or remark dscp traffic behavior, the system maps the re-marked priorities of packets to local priorities and sends the packets to queues based on the mapped priorities.
    • If the packets match a traffic policy that is applied to the inbound direction (using the traffic-policy command) and contains an add-tag vlan-id traffic behavior, the system adds an outer VLAN tag to tagged packets that it receives and maps the priorities in the original VLAN tag of packets to local priorities. For untagged packets, the system adds an outer VLAN tag to the packets, maps the interface priority to a local priority, and sends the packets to the queue mapped to the interface priority.
    Run the display this command in the VLAN view to check whether there are any of the preceding configurations in the VLAN.
    • If so, delete or modify the configuration as required.
    • If not, go to step 4.

  4. Check whether any configurations are affecting packet queuing in the system.

    The following configurations affect the queues that packets enter in the system:

    • If the qos local-precedence-queue-map command is configured, the system sends packets to queues based on the mapping between local priorities and queues specified by this command.

      NOTE:
      The ET1D2L02QSC0 card of the S12700 does not support the qos local-precedence-queue-map command.
    • If the packets match a global policy that is applied to the inbound direction (using the traffic-policy global command) and contains a remark local-precedence traffic behavior, the system sends packets to queues based on the re-marked local priorities.
    • If the packets match a global policy that is applied to the inbound direction (using the traffic-policy global command) and contains a remark 8021p or remark dscp traffic behavior, the system maps the re-marked priorities of packets to local priorities and sends the packets to queues based on the mapped priorities.
    • If the packets match a global policy that is applied to the inbound direction (using the traffic-policy global command) and contains an add-tag vlan-id traffic behavior, the system adds an outer VLAN tag to tagged packets that it receives and maps the priorities in the original VLAN tag of packets to local priorities. For untagged packets, the system adds an outer VLAN tag to packets, maps priorities of inbound interfaces to local priorities, and sends the packets to queues based on the mapped local priorities.

    Run the display current-configuration command to check whether there are any of the preceding configurations in the system. If so, delete or modify the configuration as required.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065653

Views: 18171

Downloads: 45

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