STP Questions 3
Here you will find answers to STP Questions – Part 3
Question 1
What is the result of entering the command spanning-tree loopguard default?
A. The command enables both loop guard and root guard.
B. The command changes the status of loop guard from the default of disabled to enabled.
C. The command activates loop guard on point-to-multipoint links in the switched network.
D. The command will disable EtherChannel guard.
Answer: B
Explanation
This command is used in global configuration mode to enable loop guard on all ports of a given switch. To disable it, use the “no” keyword at the beginning of this command.
Question 2
Refer to the exhibit. The service provider wants to ensure that switch S1 is the root switch for its own network and the network of the customer. On which interfaces should root guard be configured to ensure that this happens?

A. interfaces 1 and 2
B. interfaces 1,2,3, and 4
C. interfaces 1, 3, 5, and 6
D. interfaces 5 and 6
E. interfaces 5, 6, 7, and 8
F. interfaces 11 and 12
Answer: D
Explanation
Let’s see what will happen if we set port 5 & 6 as “root guard” ports:
First, notice that the “root guard” command cannot be used on root switch (because this command is based on blocked port – while a root switch can’t have a blocked port -> two middle switches cannot become root bridges.
Moreover, the neighbor switch which has its port connected with this “root guard” port can’t be the root bridge. For example if we configure port 6 as “root guard” port, the left-bottom switch (the switch with ports 3, 4) can’t be root bridge because that will make port 6 root port. Therefore by configuring port 5 & 6 as “root guard” ports, two switches in the “Customer network” cannot become root bridge.
Question 3
Examine the diagram. A network administrator has recently installed the above switched network using 3550s and would like to control the selection of the root bridge. Which switch should the administrator configure as the root bridge and which configuration command must the administrator enter to accomplish this?

A. DSW11(config)# spanning-tree vlan 1 priority 4096
B. DSW12(config)# set spanning-tree priority 4096
C. ASW13(config)# spanning-tree vlan 1 priority 4096
D. DSW11(config)# set spanning-tree priority 4096
E. DSW12(config)# spanning-tree vlan 1 priority 4096
F. ASW13(config)# set spanning-tree priority 4096
Answer: E
Explanation
First, only switches in Distribution section should become root bridge -> only DSW11 or DSW12 should be chosen.
The traffic passing root bridge is always higher than other switches so we should choose switch with highest speed connection to be root bridge -> DSW12 with two 100Mbps connections should be chosen.
Also, the correct command to change priority value for a specific VLAN is spanning-treee vlan VLAN-ID priority Priority-number.
Question 4
What must be the same to make multiple switches part of the same Multiple Spanning Tree (MST)?
A. VLAN instance mapping and revision number
B. VLAN instance mapping and member list
C. VLAN instance mapping, revision number, and member list
D. VLAN instance mapping, revision number, member list, and timers
Answer: A
Explanation
MST maps multiple VLANs that have the same traffic flow requirements into the same spanning-tree instance. The main enhancement introduced by MST raises the problem, however, of determining what VLAN is to be associated with what instance. More precisely, based on received BPDUs, devices need to identify these instances and the VLANs that are mapped to the instance.
To be part of a common MST region, a group of switches must share the same configuration attributes. In particular, the configuration name (or region name – 32 bits), revision number (16 bits), and VLAN mapping (associate VLANs with spanning-tree instances) need to be the same for all the switches within the same region.
An example of configuring MST on a switch is shown below:
| Configuration | Description |
| Switch(config)# spanning-tree mode mst | Turn on MST (and RSTP) on this switch |
| Switch(config)# spanning-tree mst configuration | Enter MST configuration submode |
| Switch(config-mst)# name certprepare | Name MST instance |
| Switch(config-mst)# revision 5 | Set the 16-bit MST revision number. It is not incremented automatically when you commit a new MST configuration. |
| Switch(config-mst)#instance 1 vlan 5-10 | Map instance with respective VLANs |
| Switch(config-mst)#instance 2 vlan 11-15 |
Question 5
Which three items are configured in MST configuration submode? (Choose three)
A. Region name
B. Configuration revision number
C. VLAN instance map
D. IST STP BPDU hello timer
E. CST instance map
F. PVST+ instance map
Answer: A B C
Explanation
Same as Question 4.
Question 6
Which three statements about the MST protocol (IEEE 802.1S) are true? (Choose three)
A. To verify the MST configuration, the show pending command can be used in MST configuration mode.
B. When RSTP and MSTP are configured; UplinkFast and BackboneFast must also be enabled.
C. All switches in the same MST region must have the same VLAN-to-instance mapping, but different configuration revision numbers.
D. All switches in an MST region, except distribution layer switches, should have their priority lowered from the default value 32768.
E. An MST region is a group of MST switches that appear as a single virtual bridge to adjacent CST and MST regions.
F. Enabling MST with the “spanning-tree mode mst” global configuration command also enables RSTP.
Answer: A E F
Explanation
The show pending command can be used to verify the MST configuration (pending configuration). An example of this command is shown below:

Note:
The above commands do these tasks:
+ Enter MST configuration mode
+ Map VLANs 10 to 20 to MST instance 1
+ Name the region certprepare
+ Set the configuration revision to 1
+ Display the pending configuration
+ Apply the changes, and return to global configuration mode
The MST region appears as a single bridge to spanning tree configurations outside the region -> a MST region appears as a single virtual bridge to adjacent CST and MST regions -> E is correct.
By enabling MST you also enable RSTP because MST relies on the RSTP configuration to operate -> F is correct.
Question 7
Which two statements concerning STP state changes are true? (Choose two)
A. Upon bootup, a port transitions from blocking to forwarding because it assumes itself as root.
B. Upon bootup, a port transitions from blocking to listening because it assumes itself as root.
C. Upon bootup, a port transitions from listening to forwarding because it assumes itself as root.
D. If a forwarding port receives no BPDUs by the max_age time limit, it will transition to listening.
E. If a forwarding port receives an inferior BPDU, it will transition to listening.
F. If a blocked port receives no BPDUs by the max_age time limit, it will transition to listening.
Answer: B F
Question 8
Which statement correctly describes the Cisco implementation of RSTP?
A. PortFast, UplinkFast, and BackboneFast specific configurations are ignored in Rapid PVST mode.
B. RSTP is enabled globally and uses existing STP configuration.
C. Root and alternative ports transition immediately to the forwarding state.
D. Convergence is improved by using sub-second timers for the blocking, listening, learning, and forwarding port states.
Answer: B
Explanation
To turn on RSTP, use this command in global configuration mode:
| Switch(config)# spanning-tree mode mst |
Note: This command turn on both MST & RSTP.
Question 9
The network administrator maps VLAN 10 through 20 to MST instance 2. How will this information be propagated to all appropriate switches?
A. Information will be carried in the RSTP BPDUs.
B. It will be propagated in VTP updates.
C. Information stored in the Forwarding Information Base and the switch will reply on query.
D. Multiple Spanning Tree must be manually configured on the appropriate switches.
Answer: D
Question 10
Which MST configuration statement is correct?
A. MST configurations can be propagated to other switches using VTP.
B. After MST is configured on a Switch, PVST+ operations will also be enabled by default.
C. MST configurations must be manually configured on each switch within the MST region.
D. MST configurations only need to be manually configured on the Root Bridge.
E. MST configurations are entered using the VLAN Database mode on Cisco Catalyst switches.
Answer: C

Question 8 :
(config)#spanning-tree mode rapid-pvst
MST configurations must be manually configured on each switch within the MST region.
http://mypakistan-times.blogspot.com
Q#8:
Both B and C would be more or less valid answers. I say “more or less” because there is a 99.9% degree of accuracy in both of them but each one could be picked upon and proved as not 100% accurate.
For answer B) RTSP indeed uses the existent STP configuration but if you had UplinkFast or Backbonefast configured on the switch those will be inactivated by RTSP as they are redundant. So we can say that RTSP use “almost” all the configuration commands from a previous STP configuration. Bust since the answer doesn’t state it uses “all” configuration commands of STP, it holds true.
For answer C) we know that in RSTP a root port will make a fast transition towards forwarding (it only has to put its non-edge ports in sync which is it blocks them, before moving to forwarding state). An alternate port will also move very fast (sub-second speed) to a forwarding state (it’s basically the equivalent of UplinkFast in STP).
Except that this answer calls the port “alternative” not alternate, so this may be grounds for dismissing this answer, as well.
Granted, answer C might be designed as a trick statement (to verify if we know well the names of the port roles in RSTP) so I’d rather lean towards answer B than C, in a stronger fashion, even though none of them is 100% accurate.
Q2: I don’t really agree with the explanation. If port 6 is configured with root guard, SW with port 3, 4 can still become root (SW with port 6, 8, 10 can follow the part 8-7-5-1-2-4 to root).
About the question, I don’t know what to choose. If you want to make 100% sure that S1 is always the root, you can configure port 2, 4, 5, 6, 7, 8, 11, 12 with root guard. If you want to leave some redundancy, you can leave out some of the ports above, but it also leaves a chance that another switch will become root. For example, if only port 5, 6 are configured with root guard, SW with 6, 8, 10 can still become root.
Please correct me if I’m wrong.
@AdyM
you’ve got a point on answer C, but remember that RSTP can also interoperate with traditional STP. So if a RSTP-running switch try to send proposal message to a STP-running switch and doesn’t get a reply back (because the receiving switch doesn’t understand RSTP), the RSTP-running switch will have to play by traditional STP rules. In other words, it will have to cycle through Listening & Learning states, before moving to Forwarding state. So there are times that root & alternate ports don’t transition immediately to Forwarding state.
@t141: You are right, if ONLY port 6 is configured with root guard, SW with port 3/4 still can be a root. However, answer says BOTH port 5 and 6 must be configured with root guard, so that SW with port 3/4 cannot be a root.
Q2, if you configure 11, 12 it will have the same effect.
Root guard cmd CAN be used in Root SWT
@ Joyce
I agree with you however do you want to kill the whole service provider network b/c a customer assigns a switch with lower priority? Or do you want to kill just their connection =D?
Question #2 Concerns with the answer / explanation. First, the question says: “the service provider wnats to ensure that sw1 is the root for its own network AND the network of the customer” Placing root guard on ports 5 and 6 only ensures that no bridges in the customer network become root, and thus does not satisfy the requirement of the question – it’s wrong. The only logical answer is F, (ports 11 and 12). That is the only answer the meets the requirements of the question. Per Cisco BCMSN book, “Root guard should be enabled on all ports where the root bridge is not antcipated”. Enable Root guard on all ports on which the root should not appear!
@Toph – For desired root switch the places where and intruder can connect a switch to send superior bpdu’s is 5,611,12.Also the intruder could connect on the customer network switch through ports on the left.Thus at all these places root guard should be configured.No coming to the confusion between 5,6 & 11,12.Lets say we enabled root guard on 11,12 and now we receive superior bpdu on on ports 5,6 which are on service provider network,Thus ne of the switch on which 5,6 exist would easily become the root bridge for Service provider network as root guard is not enabled on them.Thus enabling root guard on those points is important inorder to protect the desired root bridge for customer and service provider networks.
@ Punit – Thanks – that makes sense.
@Punit. I have a question: I have worked in Enterprise Environment. I have never seen anybody keeping “switch” for small or larger site (customer site). It is always WAN router (which doesn’t run STP). Then how even a diagram of switches in question is valid ?
Regrading Q2:
what is the connection between “root guard and blocked ports” ? what do you means by “because this command is based on blocked port”
regrading STP versions: can you explain what will be the mode of each switch if I plugged the following:
1. MST with STP(CST)
2. MST with PVST+
3. PVST+ with STP(CST)
4. RSTP with STP(CST)
thanks for the help.
What is the difference between a loop guard and a root guard ? please someone tell me
@Avada
In a Resume,
Loop Guard For Unidirection Failure.
Root Guard Used On Port Switches To Prevent Other Switches Become The Root From This Direction.
Ask Google or Check PDF Will Tell u More
Q1 on test today
Q1 was in test today. There wasn’t any question on MST in the whole test.
Qts2:What if after making port 5&6 (MIDDLE SW’s) as “root guard” ports and what if i use this command “spanning-tree vlan 1 root primary” on any of the MIDDLE SW’s ,will it going to change the ROOT bridge position or not ,because the Qts is for “SP wants to ensure that switch S1 is the root switch for its own network and the network of the customer.”
@certprepare Q7
in the quiz the correct answers are A&F, but here are B&F ! Whats correct then?
Q2: Answer D is not correct. In this config you can enter command “spanning-tree vlan 1 priority 4096″ at Switch with 5,7,9 or 6,8,10 ports and it becomes a root bridge. I think, that correct answer is E. Why E is incorrect? Can anybody explain please?
Just wanted to ask, If you download the Boomish dumps, do you still need to learn these questions here?
regarding Q2.we got confused here becouse in some vidoies specialy in cbt nuggets .is saying u can configure guard root on the root bridge(switch) ports. so in this case i think answer F is correct .if iam wrong can some explaine the answer .thanks