Priority trust mode configuration example

Network requirements

As shown in Figure 6, the IP precedence of Device A's traffic is 3, and the IP precedence of Device B's traffic is 1.

Configure Device C to preferentially process packets from Device A to Server when Ethernet 1/3 of Device is congested.

Figure 6: Network diagram

Configuration procedure

  1. Configure Device C to trust port priority.

    # Assign port priority to Ethernet 1/1 and Ethernet 1/2. Make sure that the priority of Ethernet 1/1 is higher than Ethernet 1/2, and no trusted packet priority type is configured on Ethernet 1/1 or Ethernet 1/2.

    <DeviceC> system-view
    [DeviceC] interface ethernet 1/1
    [DeviceC-Ethernet1/1] qos priority 3
    [DeviceC-Ethernet1/1] quit
    [DeviceC] interface ethernet 1/2
    [DeviceC-Ethernet1/2] qos priority 1
    [DeviceC-Ethernet1/2] quit