32Configuring priority mappingConfiguring a priority mapping tableFollow these steps to configure an uncolored priority mapping table:To do… Use the command… RemarksEnter system view system-view —Enter priority mapping table viewqos map-table { dot1p-dp |dot1p-exp | dot1p-lp | dscp-dot1p| dscp-dp | dscp-dscp | exp-dot1p| exp-dp }RequiredConfigure the priority mappingtableimport import-value-list exportexport-valueRequiredNewly configured mappingsoverwrite the old ones.Configuring a port to trust packet priority for priority mappingWhen configuring the trusted packet priority type on an interface or port group, use the followingkeywords:• dot1p—Uses the 802.1p priority of received packets for mapping.• dscp—Uses the DSCP precedence of received IP packets for mapping.• untrust—Uses port priority as the 802.1p priority for priority mapping.Follow these steps to configure the trusted packet priority type on an interface or port group:To do… Use the command… RemarksEnter system view system-view —Enter interface view interface interface-typeinterface-numberEnter interfaceview or portgroup view Enter port group view port-group manualport-group-nameUse either commandSettings in interface view take effect onthe current interface; settings in portgroup view take effect on all ports inthe port group.Trust the 802.1p orDSCP priority inpacketsqos trust { dot1p | dscp }Configure thepriority trustmodeTrust the port priority undo qos trustUse either commandBy default, the device trusts the portpriority.