The set protocols spanning-tree rstp interface port-priority command configures the priority of a port for RSTP mode.
set protocols spanning-tree rstp interface <interface-name> port-priority <port-priority>
Specifies a port name. The value is a string that can be set to a physical port name or a LAG port.
Specifies the priority value of a port. The value is an integer that ranges from 0 to 240. The default value is 128.
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.
- Configure the port priority of ge-1/1/1 to 15.