cisco Catalyst 9300 — Configuring Load Sharing Using STP Port Priorities

Configuring Trunk Ports for Load Sharing The following sections provide information about configuring trunk ports for load sharing: Configuring Load Sharing Using STP Port Priorities If your switch is a member of a switch stack, you must use the spanning-tree [ vlan vlan-id ] cost cost interface configuration command instead of the spanning-tree [ vlan vlan-id ] port-priority priority interface configuration command to select an interface to put in the forwarding state. Assign lower cost values to interfaces that you want selected first and higher cost values that you want selected last. These steps describe how to configure a network with load sharing using STP port priorities.

Procedure Configuring VLAN Trunks Configuring Trunk Ports for Load Sharing Command or Action Purpose Step 5 end Example: Device(config-if)# end Returns to privileged EXEC mode. Step 6 show interfaces interface-id switchport Example: Device# show interfaces gigabitethernet 1/0/2 switchport Verifies your entries in the Trunking Native Mode VLAN field. Step 7 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: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example:

Device# configure terminal Enters global configuration mode on Device A. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 55