108On a spanning tree device, a port can have different priorities and play different roles in differentspanning trees, so that data of different VLANs can be propagated along different physical paths,implementing per-VLAN load balancing. You can set port priority values based on the actual networkingrequirements.When the priority of a port changes, the system re-calculates the port role and initiates a state transition.To configure the priority of a port:Step Command Remarks1. Enter system view. system-view N/A2. Enter Layer 2 Ethernet oraggregate interface view. interface interface-type interface-number N/A3. Configure the port priority.• In STP/RSTP mode:stp port priority priority• In PVST mode:stp vlan vlan-id-list port priority priority• In MSTP mode:stp [ instance instance-list ] port prioritypriorityThe default setting is 128for all ports.Configuring the port link typeA point-to-point link directly connects two devices. If two root ports or designated ports are connectedover a point-to-point link, they can rapidly transit to the forwarding state after a proposal-agreementhandshake process.Configuration restrictions and guidelines• You can configure the link type as point-to-point for a Layer 2 aggregate interface or a port thatoperates in full duplex mode. H3C recommends that you use the default setting and letting thedevice automatically detect the port link type.• In PVST or MSTP mode, the stp point-to-point force-false or stp point-to-point force-true commandconfigured on a port takes effect on all VLANs or all MSTIs.• If you configure a non-point-to-point link as a point-to-point link, a temporary loop might occur.Configuration procedureTo configure the link type of a port:Step Command Remarks1. Enter system view. system-view N/A2. Enter Layer 2 Ethernet oraggregate interface view.interface interface-typeinterface-number N/A3. Configure the port link type. stp point-to-point { auto | force-false| force-true }By default, the link type is autowhere the port automaticallydetects the link type.