set protocols spanning-tree mstp msti interface port-priority


The set protocols spanning-tree mstp msti interface port-priority command configures the port priority for an MSTI.


Command Syntax

set protocols spanning-tree mstp msti <instance-id> interface <interface-name> port-priority <port-priority>


Parameter

Parameter

Description

msti <instance-id>

Specifies the MST instance. The value is an integer that ranges from 1 to 16.

interface <interface-name>

Specifies a port name. The value is a string that can be set to a physical port name or a LAG port.

port-priority <port-priority>

Specifies the priority value of a port. The value is an integer that ranges from 0 to 240. The default value is 128.


Usage Guidelines

The value of the port priority affects whether the port will be elected as the designated port. The smaller the priority value is, the higher the priority is, and it is more likely to become the designated port.


Example

  • Set the bridge priority of interface ge-1/1/1 to 55 for MSTI 5.
admin@Xorplus# set protocols spanning-tree mstp msti 5 interface ge-1/1/1 port-priority 55
admin@Xorplus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.