bridge-group instance path-cost
Use this command to set a path cost for a multiple spanning tree instance.
Before you can give this command, you must explicitly add an MST instance to a port using the bridge-group instance command.
Use the no form of this command to set the path cost to its default which varies depending on bandwidth.
Command Syntax
bridge-group (<1-32> | backbone) instance <1-63> path-cost <1-200000000>
no bridge-group ( <1-32> | backbone) instance <1-63> path-cost
Parameters
<1-32>
Bridge identifier.
backbone
Specify the backbone bridge.
<1-63>
Set the MST instance identifier.
<1-200000000>
Path cost for a port (a lower path cost means greater likelihood of becoming root).
Default
Assuming a 10 Mb/s link speed, the default value is 200,000.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#spanning-tree mst configuration
(config-mst)#bridge 4 instance 3 vlan 3
(config-mst)#exit
(config)#interface eth1
(config-if)#bridge-group 4 instance 3
(config-if)#bridge-group 4 instance 3 path-cost 1000
Last modified date: 10/12/2023