
74Command Sets for Command Line Interface
16.spanning port <number> priority
Syntax:
spanning port <number> priority [<portpriority>]
Description:
Reads or sets the priority of the port. The priority may be any value between 0 and 255. The priority is used in conjunction with the pathcost to determine the best root to the root bridge. The higher the priority number, the less significant, in protocol terms, the port. The port priority may also be changed by SNMP command. Configuration saving saves this information. By default a port has a priority of 128.
Example:
DSL bridge> spanning port 1 priority | ;Displays the |
| priority for port 1 |
| on the bridge |
17. spanning priority
Syntax:
spanning priority [<bridgepriority>]
Description:
Reads or sets the priority of the bridge. The priority may be any value in the range 0 to 65535. The higher the priority number, the less significant, in protocol terms, the bridge. Where two bridges have the same priority, their MAC address is compared and the smaller MAC address is treated as more significant. The priority of the bridge may be changed by SNMP command.
Configuration saving saves this information. By default the bridge is assigned a priority of 32768.
Example:
DSL bridge> spanning priority 4000 ;Sets the bridge priority to 4000.