CompTIA Network+ (N10-008) — Question 25
An administrator is writing a script to periodically log the IPv6 and MAC addresses of all the devices on a network segment. Which of the following switch features will MOST likely be used to assist with this task?
Answer options
- A. Spanning Tree Protocol
- B. Neighbor Discovery Protocol
- C. Link Aggregation Control Protocol
- D. Address Resolution Protocol
Correct answer: B
Explanation
The Neighbor Discovery Protocol (NDP) is used in IPv6 networks to discover other devices on the network and can provide both IPv6 and MAC addresses. The other options, such as Spanning Tree Protocol and Link Aggregation Control Protocol, do not facilitate the discovery of network devices, making them unsuitable for this task.