Figure 6 Network diagram
# Assign port priority to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. Make sure that the priority
of GigabitEthernet 1/0/1 is higher than that of GigabitEthernet 1/0/2, and that no trusted packet
priority type is configured on GigabitEthernet 1/0/1 or GigabitEthernet 1/0/2.
[DeviceC] interface gigabitethernet 1/0/1
[DeviceC-GigabitEthernet1/0/1] qos priority 3
[DeviceC] interface gigabitethernet 1/0/2
[DeviceC-GigabitEthernet1/0/2] qos priority 1
Priority mapping table and priority marking configuration
As shown in
The marketing department connects to GigabitEthernet 1/0/1 of Device, which sets the 802.1p
priority 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 priority
of traffic from the R&D department to 4.
The management department connects to GigabitEthernet 1/0/3 of Device, which sets the 802.1p
priority of traffic from the management department to 5.
Configure port priority, 802.1p-to-local mapping table, and priority marking to implement the plan as