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.
set protocols spanning-tree mstp interface <interface-name> internal-path-cost <path-cost>
Specifies a port name. The value is a string that can be set to a physical port name or a LAG port.
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.
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.
- Configure the path cost of the internal link on port ge-1/1/1.