Packets Enter Incorrect Queues
Common Causes
- 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
- 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. If the trust upstream command is not configured, the system trusts the DiffServ domain default. In this case, run the display diffserv domain ds-domain-name command to check whether the priority mappings configured in the trusted DiffServ domain are correct.
- If the priority mappings are incorrect, run the ip-dscp-inbound, mpls-exp-inbound, or 8021p-inbound command to correctly configure priority mappings.
- If the priority mappings are correct, go to step 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 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 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 such configurations are found, delete or modify them.
- If such configurations are not found, go to step 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 traffic behavior, the system maps the re-marked priorities of packets to PHBs and sends the packets to queues based on the mapped PHBs.
Run the display this command in the VLAN view to check for the preceding configurations in the VLAN.- If such configurations are found, delete or modify them.
- If none of the configurations is found, go to step 4.
- Check whether any configurations are affecting packet queuing in the system.
The following configurations affect packet queuing in the system:
If the qos local-precedence-queue-map command is configured, the system sends packets to queues based on the mapping between PHBs and queues specified by this 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 PHBs.
- 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 traffic behavior, the system maps the re-marked priorities of packets to PHBs and sends the packets to queues based on the mapped PHBs.
Run the display current-configuration command to check for the preceding configurations in the system. If such configurations are found, delete or modify them.