Page 1 of 1

how to show omniswitch configuration all include default setting?

Posted: 01 Feb 2025 08:40
by zlinuxboy
I am suck on finding which spantree path-cost-mode is, so how to show omniswitch configuration all include default settings?

Re: how to show omniswitch configuration all include default setting?

Posted: 02 Feb 2025 09:24
by silvio
You see the used pathcost mode here:

Code: Select all

> show spantree mode
Spanning Tree Global Parameters
  Current Running Mode  : Per VLAN,
  Current Protocol      : N/A (Per VLAN),
  Path Cost Mode        : AUTO,
  Auto Vlan Containment : N/A
  Cisco PVST+ mode      : Disabled
  Vlan Consistency check: Disabled
Auto means that in case of MSTP 32Bit (= long) will be used. In all other cases (f.e. with the default protocol RSTP with perVlan) 16Bit (=short) is used.
You can change the mode by:

Code: Select all

spantree path-cost-mode 32bit
.
BR Silvio

Re: how to show omniswitch configuration all include default setting?

Posted: 02 Feb 2025 09:27
by silvio
In configuration (you see it with "show configuration snapshot") you don't see any default setting (to keep the config small). For finding out the defaults you can look in the cli guide. At all commands you see the default entry. Or you use a show-command (like above).
Silvio