< Home

(Optional) Configuring Port Priorities

Context

In VBST spanning tree calculation, the port path cost, bridge ID of the sending switch, and port priority determine whether the port can be selected as the designated port. A smaller priority value indicates higher probability of becoming the designated port, and a larger priority value indicates higher probability of becoming the blocking port.

On a network running VBST, a port can function as different roles in different spanning trees so that traffic from different VLANs is forwarded through different physical paths.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the Ethernet interface that participates in spanning tree calculation is displayed.

  3. Run stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> port priority priority

    The priority of the port in each VLAN is set.

    By default, the priority of a switch port is 128.

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