< Home

Packets Enter Incorrect Queues

Common Causes

This fault is commonly caused by one of the following:
  • The priority type of packets is different from the priority type trusted by the inbound interface.
  • Priority mapping in the priority mapping table is incorrect.
  • There are configurations affecting the queues that packets enter on the inbound interface, including:
  • There are configurations affecting the queues that packets enter in the VLAN to which the packets belong.
  • There are configurations affecting the queues that packets enter in the system.

Procedure

  1. Check that the priority type of packets is the same as the priority type trusted by the inbound interface.

    Run the display this command in the inbound interface view to check the configuration of the trust command on the inbound interface. Then obtain the packet header on the inbound interface, and check whether the priority type is the same as the priority type trusted by the inbound interface.

    • If not, run the trust command to modify the priority type trusted by the inbound interface to be the same as the priority type of the captured packets.
    • If so, go to step 2.

  2. Check whether priority mappings are correct.

    Enter the priority mapping table view and run the display this command to check whether priority mapping is configured correctly.

    • If priority mapping is configured incorrectly, run the qos map-table command to enter the priority mapping table view, and then run the input (DSCP priority mapping table view) command to configure priority mapping correctly.
    • If so, go to step 3.

  3. Check whether there are configurations affecting the queues that packets enter on the inbound interface.

    The following configurations affect the queues that packets enter on the inbound interface:
    • If the port vlan-stacking command is configured with remark-8021p specified, priorities of packets are re-marked. The mapping between 802.1p priorities and local priorities may be incorrect and queues may enter incorrect queues.
    • If the port vlan-mapping vlan map-vlan command is configured with remark 8021p specified, priorities of packets are re-marked. The mapping between 802.1p priorities and local priorities may be incorrect and queues may enter incorrect queues.
    • If the traffic-policy command is configured with remark local-precedence specified, the system sends packets to queues based on the re-marked priorities.
    • If the traffic-policy command that defines remark 8021p, remark ip-precedence, or remark dscp is used, the system maps the re-marked priorities of packets to 802.1p priorities and sends the packets to queues based on the mapped priorities.
    • If the port link-type dot1q-tunnel command is configured, all the packets reaching the interface enter queues based on the default 802.1p priority of the interface. The default 802.1p priority of an interface is set by using the port priority command. The default 802.1p priority of an interface is 0.

    Run the display this command in the inbound interface view to check whether there are configurations affecting packets queuing on the inbound interface.

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

  4. Check whether there are configurations affecting the queues that packets enter in the VLAN that the inbound interface of the packets belongs to.

    The following configurations affect the queues that packets enter:

    • If the traffic-policy command that defines remark local-precedence is used, the system sends packets to queues based on the re-marked priorities.
    • If the traffic-policy command that defines remark 8021p, remark ip-precedence, or remark dscp is used, the system maps the re-marked priorities of packets to 802.1p priorities and sends the packets to queues based on the mapped priorities.
    Run the display this command in the view of the VLAN that the inbound interface of the packets belongs to and check whether there are configurations affecting the queues that packets enter in the VLAN.
    • If so, delete or modify the configuration as required.
    • If not, go to step 5.

  5. Check whether there are configurations affecting the queues that packets enter in the system.

    The following configurations affect the queues that packets enter:
    • 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.
    • If the traffic-policy global command that defines remark local-precedence is used, the system sends packets to queues based on re-marked priorities.
    • If the traffic-policy global command that defines remark 8021p, remark ip-precedence, or remark dscp is used, the system maps the re-marked priorities of packets to 802.1p priorities and sends the packets to queues based on the mapped priorities.

    Run the display current-configuration command to check whether there are configurations affecting the queues that packets enter in the system. If so, delete or modify the configuration.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >