

Task3: Configure SW2 F0/14 as a root port for both VLAN1,2. SW1(config)#spanning-tree vlan 1 root secondary You can use the command spanning-tree vlan 1 root secondary to accomplish the task automatically. Task2: Configure SW1 as a backup root bridge for VLAN1 only.įor SW1 to act as a backup in case of SW0 failure its BID value must be manipulated to be lower that SW2 but higher than SW0. SW0(config)#spanning-tree vlan 1,2 root primary The command spanning-tree vlan 1,2 root primary is used to automatically set the priority.


Task1: Configure SW0 as a root bridge for both VLAN1,2.įor SW0 to be a root switch you have to manipulate the BID to make it the lowest in the network. We will use a simple topology in the diagram below and configure the switches to accomplish the tasks listed below. After explaining how STP works to ensure your network is free of bridging loops in previous posts, we are going directly to a configuration example.
