Packets Enter Incorrect Queues
Common Causes
- The priority mappings configured in the DiffServ domain bound to the VLAN or VLANIF 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 VLAN or VLANIF 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.
If the trust upstream none command is configured in a VLAN and the port link-type dot1q-tunnel command is configured on interfaces in the VLAN, all Layer 2 packets sent to this VLAN enter queues based on the interface priorities. If the trust upstream none command is not configured in a VLAN but the port link-type dot1q-tunnel command is configured on interfaces in the VLAN, all Layer 2 packets sent to this VLAN enter queues based on priorities in their inner tags.
Run the display this command in the VLAN view to check whether there are configurations affecting packet queuing on the inbound interfaces in the VLAN.
- 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 trust upstream none command is configured, the system does not perform priority mapping for any packets in the VLAN. Packets enter queues based on interface priorities.
- 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.
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.
Run the display current-configuration command to check for the preceding configurations in the system. If such configurations are found, delete or modify them.