CCNA Switching and Network Access • Set 21
CCNA Switching and Network Access Practice Test 21 — 15 questions with explanations. Free, no signup.
You are connected to R1, a multilayer switch acting as the STP root for VLAN 10. Configure Root Guard on the designated port facing a downstream switch to prevent a rogue switch from becoming root. Also, enable Loop Guard on the uplink port to prevent STP loops, and configure BPDU Guard on a PortFast-enabled access port. Ensure that if a superior BPDU is received on the Root Guard port, it is blocked, and if a BPDU is received on the BPDU Guard port, it goes err-disabled.
R1#show running-config | section interface interface GigabitEthernet0/0 description Uplink to R2 switchport mode trunk spanning-tree guard loop ! interface GigabitEthernet0/1 description Downstream to SW2 switchport mode access switchport access vlan 10 spanning-tree guard root ! interface GigabitEthernet0/2 description Access port for PC switchport mode access switchport access vlan 10 spanning-tree portfast spanning-tree bpduguard enable !
R1#show running-config | section interface interface GigabitEthernet0/0 description Uplink to R2 switchport mode trunk spanning-tree guard loop ! interface GigabitEthernet0/1 description Downstream to SW2 switchport mode access switchport access vlan 10 spanning-tree guard root ! interface GigabitEthernet0/2 description Access port for PC switchport mode access switchport access vlan 10 spanning-tree portfast spanning-tree bpduguard enable !