CCNA • Practice Test 16
Free CCNA practice test — 15 questions with explanations. Set 16. No signup required.
You are connected to a multilayer switch MLS1. The network has two other switches: SW2 and SW3. The interface GigabitEthernet0/1 already has PortFast and BPDU Guard enabled. Configure MLS1 as the root bridge for VLAN 10 and VLAN 20 using the root primary command. After configuration, verify that the interface is not in err-disabled state and that the root bridge role is correctly assigned.
MLS1# show running-config | include hostname|spanning-tree|interface GigabitEthernet0/1
hostname MLS1
!
spanning-tree mode rapid-pvst
!
interface GigabitEthernet0/1
switchport mode access
switchport access vlan 10
spanning-tree portfast
spanning-tree bpduguard enable
!
MLS1# show spanning-tree vlan 10
VLAN0010
Spanning tree enabled protocol rstp
Root ID Priority 32769
Address aabb.cc00.0100
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address aabb.cc00.0100
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi0/1 Desg FWD 4 128.1 P2p Edge
MLS1# show interfaces gigabitEthernet 0/1 status
Port Name Status Vlan Duplex Speed Type
Gi0/1 connected 10 a-full a-100 10/100/1000BaseTXMLS1# show running-config | include hostname|spanning-tree|interface GigabitEthernet0/1
hostname MLS1
!
spanning-tree mode rapid-pvst
!
interface GigabitEthernet0/1
switchport mode access
switchport access vlan 10
spanning-tree portfast
spanning-tree bpduguard enable
!
MLS1# show spanning-tree vlan 10
VLAN0010
Spanning tree enabled protocol rstp
Root ID Priority 32769
Address aabb.cc00.0100
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address aabb.cc00.0100
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi0/1 Desg FWD 4 128.1 P2p Edge
MLS1# show interfaces gigabitEthernet 0/1 status
Port Name Status Vlan Duplex Speed Type
Gi0/1 connected 10 a-full a-100 10/100/1000BaseTX