200-301 Question 204
Select 4A network administrator is troubleshooting connectivity between two Cisco switches. They want to identify the neighboring devices and verify their interfaces using a Layer 2 discovery protocol. Which of the following configurations on the switches will correctly enable the discovery protocol and allow the required information to be visible?
- A
Enable Cisco Discovery Protocol (CDP) globally using the 'cdp run' command.
- B
Enable Link Layer Discovery Protocol (LLDP) globally using the 'lldp run' command.
- C
Enable CDP on the desired interface using 'cdp enable'.
- D
Enable LLDP on the desired interface using 'lldp transmit' and 'lldp receive'.
- E
CDP and LLDP are enabled by default and require no additional configuration.
Show answer and explanation
Correct answers: A, B, C, D
Explanation
Layer 2 discovery protocols such as CDP and LLDP allow network administrators to discover and verify neighboring devices. To use CDP, it must be enabled globally via 'cdp run' and optionally on specific interfaces using 'cdp enable'. Similarly, LLDP must be enabled globally with 'lldp run', and on interfaces using 'lldp transmit' and 'lldp receive'. Understanding these configurations ensures proper device discovery and connectivity troubleshooting.
- A. Correct.
Enabling CDP globally with the 'cdp run' command is required for CDP to function across the device.
- B. Correct.
Enabling LLDP globally with the 'lldp run' command is required for LLDP to function across the device.
- C. Correct.
CDP must be enabled on the specific interfaces where you want to gather neighbor information.
- D. Correct.
LLDP requires both 'lldp transmit' and 'lldp receive' commands on the interface to send and receive LLDP information.
- E. Incorrect.
While CDP is enabled by default on Cisco devices, LLDP is not. Additionally, specific interface configurations are often needed to ensure proper operation.