43
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.
18. spanning status
Syntax:
spanning status
Description:
Reports the status of the spanning tree. If spanning tree operation is disabled, a message is printed
to that effect and no other information is displayed. When spanning tree operation is enabled, the
following information is displayed:
•
The identifier of the bridge.
•
The identifier of the root bridge.
•
The root port for this bridge.
•
The root path cost: how far the bridge is from the root
•
The various spanning tree time values as defined by the current root bridge:
•
The maximum age of spanning tree information before it is discarded: max age time.
•
The amount of time between configuration protocol packets: hello time.
•
The amount of time delay when ports are changing state: forward delay time.
•
For each port:
•
The identifier of the designated bridge
•
The identifier of the designated port for the designated bridge
•
The identifier of the designated root bridge
Example:
DSL bridge>
spanning status