(Optional) Configuring the Mapping Between a CoS and a Queue Index
Context
A device schedules packets based on queues. After packet priorities are mapped to CoS values (PHBs), the device sends packets to queues based on the mapping between CoS values and queue indexes. This enables the device to provide packets with differentiated services.
By default, CoS values and port queues are mapped in one-to-one mode. In practice, packets with two or more CoS values are scheduled in the same queue to conserve buffer resources on the device. The device sends packets to different port queues based on the internal priority, and performs traffic shaping, congestion avoidance, and queue scheduling for the queues.
In port mode, mappings between CoS values and queue indexes can be configured only in the Admin-VS. These mappings take effect in both the Admin-VS and other VSs. In port group mode, mappings between CoS values and queue indexes can be configured in a VS. These mappings take effect only in this VS.