Final answer:
To discover information about a device connected to a switch, use the command 'show cdp neighbors detail' to display detailed information about neighboring devices connected to the switch.
Step-by-step explanation:
To discover the requested information about a device connected to a switch, you should use the command show cdp neighbors detail. This command displays detailed information about neighboring devices connected to the switch, including the IP address, interface on the switch, and the interface on the neighboring device.