1-17To do… Use the command… RemarksEnter Ethernet port view interface interface-typeinterface-number —Configure to trust portpriority and configure theport prioritypriority priority-levelOptionalBy default, the switch trustsport priority and the priorityof a port is 0.Follow these steps to configure to trust packet priority:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Configure to trust packetpriority priority trustRequiredBy default, the switch trustsport priority.Configuration examplez Configure to trust port priority on Ethernet 1/0/1 and set the priority of Ethernet 1/0/1to 7.Configuration procedure: system-view[Sysname] interface Ethernet1/0/1[Sysname-Ethernet1/0/1] priority 7z Configure to trust packet priority on Ethernet 1/0/2.Configuration procedure: system-view[Sysname] interface Ethernet1/0/2[Sysname-Ethernet1/0/2] priority trustConfiguring the Mapping between 802.1p Priority and Local PrecedenceWhen the default mapping between 802.1p priority and local precedence cannot satisfyyour requirements, you can modify the mapping at the CLI, thus modifying the mappingbetween 802.1p priority and the output queues and assigning packets with differentpriorities to the corresponding output queues.Note that, this is a global setting, not a per port setting. This is only recommended foradvanced network environments.Configuration prerequisitesThe mapping between 802.1p priority and local precedence has been determined.