< Home

Specifying the Packet Priority Trusted on an Interface

Context

The priority trusted on an interface determines which type of priority to be mapped for packets on the interface.

Either of the following priorities can be trusted on an interface:

  • 802.1p priority

    • When receiving a VLAN-tagged packet, the device searches the mapping table for the 802.1p priority of the packet, and then tags the packet with the mapping internal priority.
    • When receiving an untagged packet, the device searches the mapping table for the default 802.1p priority, and then tags the packet with the mapping internal priority.
  • DSCP priority

    When receiving a packet, the device searches the mapping table for the DSCP priority of the packet, and then tags the packet with the mapping internal priority.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run trust { 8021p { inner | outer } | dscp }

    The priority trusted on the interface is specified.

    By default, an interface trusts 802.1p priorities in outer VLAN tags.

    The inner parameter cannot be specified on the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >