Which command you enter on a switch to display the ip address associated with connected devices?
The correct command to display the IP address associated with connected devices on a switch is "show cdp neighbors detail".
CDP (Cisco Discovery Protocol) is a proprietary protocol used by Cisco devices to share information about other directly connected Cisco equipment, such as the device ID, IP address, and capabilities.
The "show cdp neighbors" command displays a summary of the neighboring devices, including their device ID, local interface, and platform. However, it does not show the IP address associated with those devices.
On the other hand, the "show cdp neighbors detail" command provides more detailed information, including the IP address of the connected devices. This command displays the same information as "show cdp neighbors," but with additional details such as IP addresses, port ID, and system capabilities.
Therefore, option A - "show cdp neighbors detail" is the correct command to display the IP address associated with connected devices on a switch. Options B, C, and D are all related to CDP, but they do not provide the required information.