Configuring Priority Mapping
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.
Configuration Roadmap
The configuration roadmap is as follows:
- 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). This allows the device to provide differentiated services according to internal priorities.
- Apply the DiffServ domain to an object so that the mappings take effect. The device can then re-mark priorities of packets according to the mappings.
- (Optional) 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.
- Specifying the Packet Priority Trusted on an Interface
- (Optional) Configuring an Interface Priority
- Configuring a DiffServ Domain
- Applying the DiffServ Domain
- (Optional) Configuring the Mapping Between a CoS and a Queue Index
- (Optional) Configuring the Internal Priority of Protocol Packets Sent by the Local Device
- Verifying the Priority Mapping Configuration