set protocols spanning-tree mstp interface internal-path-cost
The set protocols spanning-tree mstp interface internal-path-cost command configures the path cost of the internal link on a physical port or a LAG port for MSTP mode.
Command Syntax
set protocols spanning-tree mstp interface <interface-name> internal-path-cost <path-cost>
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. |
internal-path-cost <path-cost> | Specifies the path cost value of the internal link. The value is an integer that ranges from 0 to 200000000. The default value is 0. |
Usage Guidelines
Indicates the path cost from the local bridge to the regional root. The internal path cost saved on a regional edge port is greater than that saved on a non-regional edge port.
Example
- Configure the path cost of the internal link on port ge-1/1/1.
admin@Xorplus# set protocols spanning-tree mstp interface ge-1/1/1 internal-path-cost 1248 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.