SWR2311P(config)#spanning-tree priority 4096
6.3.5 Set spanning tree for an interface
[Syntax]
spanning-tree switch
[Parameter]
switch : Spanning tree operation
Setting value Description
enable Enable spanning tree
disable Disable spanning tree
[Initial value]
spanning-tree enable
[Input mode]
interface mode
[Description]
Sets spanning tree operation for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for LAN/SFP port and logical interface.
It is not possible to specify this command for a LAN/SFP port that is associated to a logical interface.
[Example]
Disable spanning tree for LAN port #1.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree disable
6.3.6 Set spanning tree link type
[Syntax]
spanning-tree link-type type
no spanning-tree link-type
[Parameter]
type : Link type
Setting value Description
point-to-point Point-to-point link
shared Shared link
[Initial value]
spanning-tree link-type point-to-point
[Input mode]
interface mode
[Description]
Sets the link type for the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
[Note]
This command can be specified only for LAN/SFP port and logical interface.
It is not possible to specify this command for a LAN/SFP port that is associated to a logical interface.
If a LAN/SFP port is associated with a logical interface, the setting of this command for the corresponding LAN/SFP port
returns to the default.
Command Reference | Layer 2 functions | 173