Configuring Spanning Tree Parameters Configuring STP Port Parameters
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 6-37
Is a 16-bit path cost value is in use and the path_cost is set to zero, the following IEEE 802.1D
recommended default path cost values based on link speed are used:
Spanning Tree is automatically enabled on a port and the path cost is set to the default value. If the switch
is running in the per-VLAN Spanning Tree mode, then the port path cost applies to the specified VLAN
instance associated with the port. If the switch is running in the flat Spanning Tree mode, then the port
path cost applies across all VLANs associated with the port. The flat mode instance is specified as the port
instance, even if the port is associated with other VLANs.
The spantree vlan path-cost command configures the port path cost value for a VLAN instance when the
switch is running in either mode (per-VLAN or flat). For example, the following command configures a
16-bit path cost value for port 8/1 for VLAN 10 to 19 (the port speed is 100 MB, 19 is the recommended
value):
-> spantree vlan 10 port 8/1 path-cost 19
Link Speed
32-bit Path Cost
Physical Port
32-bit Path Cost
Link Aggregate (2/4/8/16 Port)
10 Mbps 2000000 1200000, 800000, 600000, 400000
100 Mbps 200000 120000, 80000, 60000, 40000
1G 20000 18000, 16000, 14000, 12000
2.5G 8000 7600, 7200, 6800, 6400
5G 4000 3800, 3600, 3400, 3200
10G 2000 1900, 1800, 1700, 1600
25G 800 780, 760, 740, 720
40G 500 480, 460, 440, 420
50G 400 380, 360, 340, 320
100G 200 180, 160, 140, 120
Link Speed
16-bit Path Cost
Physical Port
16-bit Path Cost Link Aggregate (2/4/8/16 Port)
10 Mbps 100 60, 40, 30, 20
100 Mbps 19 12, 9, 7, 5
1G 4 3
2.5G 4 3
5G 3 2
10G 2 1
25G 1 1
40G 1 1
50G 1 1
100G 1 1