3Com 5102B-EE Network Router User Manual


 
Management Commands 4 - 73
SET SPANTREE PATH_COST_PORT1
Use the SET SPANTREE PATH_COST_PORT1 command to change the path
cost of port 1 on the local Bridge Module.
Format
SET SPANTREE PATH_COST_PORT1 {variable}
Parameters
{variable} = 1 - 65535 (default is 10)
Example
OEBM> set spantree path_cost_port1 17 [ENTER]
Spanning tree parameter changed
Description
The SET SPANTREE PATH_COST_PORT1 command enables you to change
the path cost of port 1 on the local Bridge Module.
The Spanning Tree Protocol seeks to minimize the path cost between each
bridge and the Root Bridge (called the root path cost). The “root path
cost” represents the distance between this bridge and the Root Bridge, and
should be a lower value as the distance is lessened.
Modifying the value for the port 1 path cost at the local bridge may cause
bridges “beneath” the local bridge in the Spanning Tree to change their
path to the Root Bridge depending on the benefit or drawback of going
through the local bridge.
Changing values may also result in a port currently in Blocking state on the
local bridge to transition into Forwarding state and vice versa if the cost
associated with the once Blocking port is now lower.