OcNOS-RON : Layer 2 Guide : Layer 2 Command Reference : Spanning Tree Protocol Commands : bridge-group path-cost
bridge-group path-cost
Use this command to set the cost of a path. Before you can use this command to set a path-cost in a VLAN configuration, you must explicitly add an MST instance to a port using the bridge-group instance command.
Use the no parameter with this command to restore the default cost value of the path which varies depending on the bandwidth.
Command Syntax
bridge-group <1-32> path-cost <1-200000000>
no bridge-group <1-32> path-cost
Parameters
<1-32>
Specify the bridge group ID.
path-cost
Specify the cost of path for a port.
<1-200000000>
 
Specify the cost of the path (a lower cost means a greater likelihood of the interface 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.
Examples
#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
(config-if)#bridge-group 4 path-cost 1000
Last modified date: 07/13/2023