Assigning Path Costs

Path costs are one factor in determining port roles. Each LAN segment has an operational path cost associated with it. The cost is based on the port speed, by default. The higher the speed, the lower the cost. Port costs for link aggregations are based on the aggregate speed of all the underlying physical ports. The port cost value may also be administratively assigned using the set spantree adminpathcost command. This may be done to choose a particular path.