set protocols spanning-tree rstp interface port-priority
The set protocols spanning-tree rstp interface port-priority command configures the priority of a port for RSTP mode.
Command Syntax
set protocols spanning-tree rstp interface <interface-name> port-priority <port-priority>
Parameter
Parameter | Description |
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
- Configure the port priority of ge-1/1/1 to 15.
admin@Xorplus# set protocols spanning-tree rstp interface ge-1/1/1 port-priority 15 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.