Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 140
Which command enables root guard on a cisco switch?
Answer options
- A. switch(config-if)# spanning-tree guard root
- B. switch(config)# spanning-tree guard root
- C. switch(config-if)# spanning-tree guard-root
- D. switch(config)# spanning-tree root guard
- E. switch(config-if)# spanning-tree root guard A
Correct answer:
Explanation
The correct command to enable root guard on a Cisco switch is 'switch(config)# spanning-tree root guard' (option D). Other options either specify the command incorrectly or are in the wrong configuration mode. For instance, option A and C are missing the proper syntax, and options B and E are not executed in the correct context.