Implementing Cisco IP Switched Networks (CCNP SWITCH, legacy) — Question 9
What is the command for configuring root guard?
Answer options
- A. (config)#spanning-tree guard root
- B. (config-if)#spanning-tree guard root
- C. (config-if)#spanning-tree root guard
- D. (config-if)#spanning tree guard root
- E. (config)#spanning-tree root guard
Correct answer: B
Explanation
The correct command to configure root guard is '(config-if)#spanning-tree guard root', which applies the root guard setting on an interface. Other options either use the wrong command structure or context, such as using '(config)' instead of '(config-if)' or incorrect command syntax.