Application Scenarios for Priority Mapping
Networking Requirements
The precedence field in a packet depends on the network type. For example, packets on a LAN carry the 802.1p field and those on a WAN carry the DSCP field. As shown in Figure 2-4, voice, video, and data service flows of enterprise network users are transmitted to the WAN through RouterA. Packets of different services are identified by 802.1p priorities on the LAN. RouterA maps 802.1p priorities in incoming packets to a precedence field and provides differentiated services according to the mapping result. The packets need to be identified by DSCP priorities on the WAN. Therefore, RouterA needs to set DSCP priorities of packets based on 802.1p priorities.
- Configure RouterA to queue packets based on 802.1p priorities so as to provide differentiated services.
- Configure a priority mapping table on RouterA and to map 802.1p priorities to DSCP priorities. Then RouterA re-marks outgoing packets with DSCP priorities based on 802.1p priorities, and the downstream device provides differentiated services based on DSCP priorities.