CCNA Switching and Network Access • Set 24
CCNA Switching and Network Access Practice Test 24 — 15 questions with explanations. Free, no signup.
You are connected to SW1 via console. SW1 is a Layer 2 switch connected to two other switches (SW2 and SW3) via trunk links. The network administrator wants to ensure that SW1 becomes the root bridge for VLAN 10 and VLAN 20. Currently, SW2 is the root for both VLANs. Configure SW1 to become the root bridge for these VLANs using the Cisco-recommended macro STP commands.
hostname SW1 ! vlan 10 name VLAN10 ! vlan 20 name VLAN20 ! interface GigabitEthernet0/1 switchport trunk encapsulation dot1q switchport mode trunk ! interface GigabitEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk !