1-14Follow these steps to configure a port to trust 802.1p precedence:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet portviewinterface interface-typeinterface-number —Configure to trust802.1p precedence priority-trust cos RequiredBy default, port priority is trusted.3) Configuring a port to trust DSCP value of trafficFollow these steps to configure a port to trust DSCP value of traffic:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet portviewinterface interface-typeinterface-number —Configure to trustDSCP values priority-trust dscp RequiredBy default, port priority is trusted.Configuration examples# Configure trusting port priority on GigabitEthernet 1/0/1 and set the priority of GigabitEthernet 1/0/1 to7. system-view[Sysname] interface GigabitEthernet1/0/1[Sysname-GigabitEthernet1/0/1] priority 7# Configure trusting 802.1p precedence on GigabitEthernet 1/0/2. system-view[Sysname] interface GigabitEthernet1/0/2[Sysname-GigabitEthernet1/0/2] priority-trust cos# Configure trusting DSCP values on GigabitEthernet 1/0/3. system-view[Sysname] interface GigabitEthernet1/0/3[Sysname-GigabitEthernet1/0/3] priority-trust dscpConfiguring Priority MappingYou can modify the CoS-precedence-to-other-precedence, andDSCP-precedence-to-other-precedence mapping tables as required to mark packets with differentpriorities.Configuration prerequisitesThe target CoS-precedence-to-other-precedence, and DSCP-precedence-to-other-precedencemapping tables have been determined.