33Configuration procedure# Assign port priority to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. Make sure that the priorityof GigabitEthernet 1/0/1 is higher than that of GigabitEthernet 1/0/2, and no trusted packet prioritytype is configured on GigabitEthernet 1/0/1 or GigabitEthernet 1/0/2. system-view[DeviceC] interface gigabitethernet 1/0/1[DeviceC-GigabitEthernet1/0/1] qos priority 3[DeviceC-GigabitEthernet1/0/1] quit[DeviceC] interface gigabitethernet 1/0/2[DeviceC-GigabitEthernet1/0/2] qos priority 1[DeviceC-GigabitEthernet1/0/2] quitPriority mapping table and priority markingconfiguration exampleNetwork requirementsAs shown in Figure 8, the company's enterprise network interconnects all departments through Device.The network is described as follows:• The marketing department connects to GigabitEthernet 1/0/1 of Device, which sets the 802.1ppriority of traffic from the marketing department to 3.• The R&D department connects to GigabitEthernet 1/0/2 of Device, which sets the 802.1p priorityof traffic from the R&D department to 4.• The management department connects to GigabitEthernet 1/0/3 of Device, which sets the 802.1ppriority of traffic from the management department to 5.Configure port priority, 802.1p-to-local mapping table, and priority marking to implement the plan asdescribed in Table 6.Table 6 Configuration planTrafficdestination Traffic priority orderQueuing planTraffic source OutputqueueQueuepriorityPublic serversR&D department >managementdepartment > marketingdepartmentR&D department 6 HighManagement department 4 MediumMarketing department 2 LowInternetManagementdepartment > marketingdepartment > R&DdepartmentR&D department 2 LowManagement department 6 HighMarketing department 4 Medium