After you configure priority mapping, the device maps packet priorities or the default interface priority to PHBs and colors to provide differentiated services for packets.
Priority Mapping Configuration Logic
- Specify the packet priority trusted by an interface so that priority mapping is performed according to the trusted priority.
- Configure a DiffServ domain to determine the mappings between packet priorities and internal priorities (CoS values) so that the device provides differentiated services according to internal priorities.
- Apply the DiffServ domain to an object to make the mappings take effect. Then the device can re-mark priorities of packets according to the mappings.
- Configure mappings from internal priorities to queue indexes to schedule packets with different internal priorities in different queues. This step is optional because the device provides default mappings from internal priorities to queue indexes.
Pre-configuration Tasks
Before configuring priority mapping, complete the following tasks:
- Set physical parameters for relevant interfaces.
- Set the link layer attributes for relevant interfaces.