Command Line Interface4-1584Command ModeGlobal ConfigurationCommand UsageBridge priority is used in selecting the root device, root port, and designatedport. The device with the highest priority becomes the STA root device.However, if all devices have the same priority, the device with the lowest MACaddress will then become the root device.Examplespanning-tree pathcost methodThis command configures the path cost method used for Rapid Spanning Tree andMultiple Spanning Tree. Use the no form to restore the default.Syntaxspanning-tree pathcost method {long | short}no spanning-tree pathcost method• long - Specifies 32-bit based values that range from 1-200,000,000.• short - Specifies 16-bit based values that range from 1-65535.Default SettingLong methodCommand ModeGlobal ConfigurationCommand UsageThe path cost method is used to determine the best path between devices.Therefore, lower values should be assigned to ports attached to faster media,and higher values assigned to ports with slower media. Note that path cost(page 4-164) takes precedence over port priority (page 4-164).ExampleConsole(config)#spanning-tree priority 45056Console(config)#Console(config)#spanning-tree pathcost method longConsole(config)#