< Home

(Optional) Configuring an Interface Priority

Context

An interface's priority is used in the following scenarios:
  • If the interface receives untagged packets, the device provides differentiated services for the packets based on the interface priority.

  • If the priority mapping function is disabled on the interface using the trust upstream none command, packets received on the interface can only be forwarded through priority mapping. In this case, the device provides differentiated services for the packets based on the interface 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 port priority priority-value

    The interface priority is set.

    The default interface priority is 0.

    An interface switched to Layer 3 mode using the undo portswitch command uses priority 0 and cannot have a priority configured for it.

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