[Parameter]
priority
:
<0-240> (multiple of 16)
Priority value
[Initial value]
spanning-tree priority 128
[Input mode]
interface mode
[Description]
Sets the priority of the applicable interface.
If this command is executed with the "no" syntax, the setting returns to the default.
Lower numeric values indicate a higher priority, increasing the probability that the other interface will become the root port.
[Note]
In the case of MSTP, this is the setting for CIST (instance #0).
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.
[Example]
Set the LAN port #1 priority to 64.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree priority 64
6.3.11 Set edge port for interface
[Syntax]
spanning-tree
edgeport
no
spanning-tree
edgeport
[Initial value]
no spanning-tree edgeport
[Input mode]
interface mode
[Description]
Sets the edge port of 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.
[Example]
Set LAN port #1 as the edge port.
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#spanning-tree edgeport
6.3.12 Show spanning tree status
[Syntax]
show
spanning-tree
[
interface
ifname
]
[Keyword]
interface
:
Specifies the interface to show
176
| Command Reference | Layer 2 functions