Configuring Priority Remark 669Configuration example# Configure to use the DSCP precedence when a packet enters an output queue system-view[SW7750] priority-trust dscpConfiguring theMapping Relationshipbetween 802.1p PriorityValues and QueuesYou can modify the mapping relationship between 802.1p priority values and localprecedence values to modify the mapping relationship between 802.1p priorityvalues and output queues.Configuration prerequisitesThe mapping relationship between 802.1p priority values and local precedencevalues and the default mapping table are well known.Configuration procedureConfiguration example■ Configure the 802.1p-to-local-precedence as follows: 0 to 2, 1 to 3, 2 to 4, 3to 1, 4 to 7, 5 to 0, 6 to 5 and 7 to 6.■ Display the configuration.Configuration procedure: system-view[SW7750] qos cos-local-precedence-map 2 3 4 1 7 0 5 6[SW7750] display qos cos-local-precedence-mapcos-local-precedence-map:cos : 0 1 2 3 4 5 6 7--------------------------------------------------------------------------local-precedence : 2 3 4 1 7 0 5 6Configuring PriorityRemarkRefer to “Priority Remark” on page 660 for the introduction to priority remark.Priority remark can be implemented in the following ways:■ Through TP (only non-type-A I/O Modules support this function). Whenconfiguring TP, you can define the action of remarking the DSCP precedencefor the packets exceeding the traffic limit. Refer to “Configuration Procedureof TP” on page 672.Table 538 Configure the COS-to-local-precedence mapping tableOperation Command DescriptionEnter system view system-view -Configure theCOS-to-local-precedencemapping tableqoscos-local-precedence-mapcos0-map-local-preccos1-map-local-preccos2-map-local-preccos3-map-local-preccos4-map-local-preccos5-map-local-preccos6-map-local-preccos7-map-local-precOptionalDisplay the mapping table display qoscos-local-precedence-mapYou can execute the displaycommand in any view