< Home

Specifying the Packet Priority Trusted on an Interface

Context

You can configure the device to trust one of the following priorities on an interface:
  • 802.1p priority

    For VLAN-tagged incoming packets, the system maps 802.1p priorities of the packets to local priorities based on the default mappings. For untagged incoming packets, the system uses the default 802.1p priority of the interface for priority mapping and maps the default 802.1p priority to a local priority based on the default mappings.

  • DSCP priority

    The system searches the DSCP priority mapping table based on DSCP priorities of packets to re-mark 802.1p priorities or DSCP priorities of the packets or map DSCP priorities of the packets to drop priorities.

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 | dscp }

    The packet priority trusted on the interface is specified.

    By default, the switch processes packets based on the mapping of the 802.1p priority.

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