DXS-1210 Series Smart Managed Switch CLI Reference Guide
316
PRIORITY
Specifies the port priority.Valid values are from 0 to 240.
Default
By default, this value is 128.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The port priority and the port number together form the Port Identifier. It will be used in the
computation of the role of the port. This parameter is used only in the RSTP and STP-compatible
mode. A smaller number represents a better priority.
Example
This example shows how to configure the port priority to 0 for port eth1/0/7.
Switch# configure terminal
Switch(config)#interface eth 1/0/7
Switch(config-if)# spanning-tree port-priority 0
Switch(config-if)#
39-14
spanning-tree priority
This command is used to configure the bridge priority. It is only used for RSTP and STP versions. Use
the no form of this command to restore to the default setting.
spanning-tree priority PRIORITY
no spanning-tree priority
Parameters
PRIORITY
Specifies that the bridge priority and bridge MAC address together
forms the Spanning-Tree Bridge-ID, which is an important factor in the
Spanning-Tree topology. The range is from 0 to 61440.
Default
By default, this value is 32768.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The bridge priority value is one of the two parameters used to select the Root Bridge. The other
parameter is system’s MAC address. The bridge’s priority value must be divisible by 4096 and a
smaller number represents a better priority.
This configuration will take effect on STP version and RSTP mode. In the MSTP mode, use the
command spanning-tree mst priority to configure the priority for an MSTP instance.
Example
This example shows how to configure the STP bridge priority value to 4096.
Содержание DXS-1210-10TS
Страница 1: ......
Страница 246: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 243 ...
Страница 260: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 257 ...