< Home

(Optional) Configuring a Priority for a Port

Context

In spanning tree calculation, priorities of the ports in a ring affect designated port election.

To block a port on a device, set a greater priority value than the default priority value for the port.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface that participates in STP calculation is displayed.

  3. Run stp port priority priority

    A priority is set for the port.

    The default priority value of a port on a device is 128.

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