Manual

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
Congure terminal mode
No/clear
spanning-tree disable
Show
show spanning-tree active
Default
Enable
Description
Enable/Disable the spanning tree
Example
ASUS(cong)# 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 conguration command on the
switch stack or standalone switch to set the spanning-tree path
cost.
Example
ASUS(cong-if)#spanning-tree cost 128
10.30 spanning-tree edge-port