28 spanning-tree (enable|disable), 30 spanning-tree edge-port – Asus GigaX2024B User Manual
Page 64
![background image](/manuals/303707/64/background.png)
GigaX2024B/M L2 Managed Switch CLI Manual
44
Default
Description
To show spanning-tree summary.
Example
ASUS# show spanning-tree interface fa1/0/1
10.28 spanning-tree (enable|disable)
Syntax
spanning-tree (enable|disable)
Parameters
disable ->
disables the Spanning Tree algorithm
globally for the switch
enable ->
enables the Spanning Tree algorithm
globally for the switch
Command Mode Configure terminal mode
No/clear
spanning-tree disable
Show
show spanning-tree active
Default
Enable
Description
Enable/Disable the spanning tree
Example
ASUS(config)# spanning-tree enable
10.29 spanning-tree cost <1-200000000>
Syntax
spanning-tree cost <1-200000000>
Parameters
cost
the path cost
<1-200000000> Valid range is from 1 to 200,000,000
Command Mode Interface mode
No/clear
no spanning-tree cost
Show
show spanning-tree port detail IFNAME
Default
19
Description
Use the spanning-tree cost configuration command on the
switch stack or standalone switch to set the spanning-tree path
cost.
Example
ASUS(config-if)#spanning-tree cost 128
10.30 spanning-tree edge-port