< Home

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.

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 on the inbound interface. 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 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 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 vlan inner-vlan, or 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, remark ip-precedence, 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, remark ip-precedence, 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.

      The S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S do 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, remark ip-precedence, 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.

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