Configuring Multiple VLANs in a Spanning Tree Network
This video covers the configuration of multiple VLANs in a spanning tree network. Three switches are reset to factory settings and VLANs 10, 20 and 30 are created on each switch. Trunks are created between the switches and encapsulation is set to "Dot1Q". The "show spanning-tree summary" command provides an overview of the network's topology and the "show spanning tree" command provides information about the operation of the spanning-tree. To change the root bridge for each VLAN, the priority of switches A and B are lowered for VLAN 10 and 20. The "spanning-tree vlan [VLAN number] priority [priority number]" command is used to change the priority. This video also covers the "Portfast" function in spanning-tree, which allows interfaces to immediately switch to forwarding mode, bypassing the listening and learning state, when connecting to hosts. The "spanning-tree portfast" command is used to activate the function and the "spanning-tree mode rapid-pvst" command is used to enable rapid spanning-tree for faster convergence.