Command Guide of WGSW-28040
310
Auto )
Default:
spanning-tree cost = 0
Mode:
Port Configuration
Usage Guide:
This command per port configures the STP port cost. The configuration could be shown by “show spanning-tree
interface” command.
Example:
This example sets port gi1 STP port cost to 100.
Switch#
configure
Switch(config)#
interface gi1
Switch(config-if)#
spanning-tree cost 100
4.26.13 spanning-tree edge
Command:
spanning-tree edge
no spanning-tree edge
Mode:
Port Configuration
Usage Guide:
This command per port configures the STP edge port function. The configuration could be shown by “show
spanning-tree interface” command.
Example:
This example sets port gi1 STP edge port to enable.
Switch#
configure
Switch(config)#
interface gi1
Switch(config-if)#
spanning-tree edge