Configuring Load Sharing Using STP Path Cost These steps describe how to configure a network with load sharing using STP path costs. Procedure Configuring VLAN Trunks Configuring Load Sharing Using STP Path Cost Command or Action Purpose Device(config-if)# exit Step 20 interface interface-id Example: Device(config)# interface gigabitethernet 1/0/2 Defines the interface to set the STP port priority, and enters interface configuration mode. Step 21 spanning-tree vlan vlan-range port-priority priority-value Example: Device(config-if)# spanning-tree vlan 3-6 port-priority 16 Assigns the port priority for the VLAN range specified. Enter a port priority value from 0 to 240.
Port priority values increment by 16. Step 22 end Example: Device(config-if)# end Returns to privileged EXEC mode. Step 23 show running-config Example: Device# show running-config Verifies your entries. Step 24 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Command or Action Purpose Step 1 enable Example: Enables privileged EXEC mode. Enter your password if prompted. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 58