2.3 Layer 2 Discovery Protocols Flashcards
Configure and verify Layer 2 discovery protocols (Cisco Discovery Protocol and LLDP). (38 cards)
What is Cisco Discovery Protocol?
(CDP)
A Layer 2 protocol for discovering connected Cisco devices.
CDP shares device information such as IP address, platform, and port, helping with network troubleshooting.
Define:
Link Layer Discovery Protocol
(LLDP)
An open standard Layer 2 protocol for discovering connected devices.
LLDP is IEEE 802.1ab compliant and works across multi-vendor devices, unlike CDP, which is Cisco-specific.
Why is Cisco Discovery Protocol (CDP) used in Cisco networks?
To gather device information like IP address and model.
CDP helps network admins troubleshoot and maintain network topology in Cisco-based environments.
Why is LLDP considered a vendor-neutral alternative to CDP?
It works across devices from different vendors.
LLDP is based on IEEE 802.1ab and ensures interoperability in multi-vendor networks, unlike CDP, which is proprietary to Cisco.
What are the advantages of using LLDP over CDP in a network?
- Vendor neutrality
- Interoperability
- IEEE compliance
Vendor neutrality: LLDP works across devices from different vendors, while CDP is Cisco-specific.
Interoperability: LLDP enables communication between devices from various manufacturers.
IEEE compliance: LLDP follows the IEEE 802.1AB standard, ensuring broader support and acceptance.
What type of information can CDP provide about a connected device?
- Device name
- IP
- Platform
- Port
CDP provides detailed information that aids in troubleshooting, including the IOS version and hardware model of the device.
Define:
CDP neighbor
A device that shares information with another via CDP.
A CDP neighbor is a directly connected device that exchanges information like device name, platform, and port.
How do you verify CDP neighbors on a Cisco device?
show cdp neighbors
This command displays all Cisco devices that are directly connected and sharing CDP information.
Which command shows detailed information about a specific CDP neighbor on a Cisco device?
show cdp neighbors detail
This command provides in-depth details, such as IP address and platform, about a specific device discovered via CDP.
What is the default hold time for CDP information on a Cisco device?
180 seconds
After 180 seconds, CDP data is discarded unless updated, helping keep neighbor information current.
How does LLDP function in network discovery?
It shares device identity, capabilities, and port information with neighbors.
LLDP helps create a network map by exchanging device details like ID, port, and capabilities with directly connected devices.
True or False:
LLDP is only supported by Cisco devices.
False
LLDP is an open standard supported by devices from various vendors, making it suitable for mixed-vendor environments.
What command is used to enable CDP on a Cisco interface?
cdp run
This command activates CDP on an interface, enabling it to send and receive CDP packets.
What does the acronym LLDP-MED stand for?
Link Layer Discovery Protocol - Media Endpoint Discovery
LLDP-MED is used for devices like IP phones, enabling features like PoE and network policy identification.
How does CDP be used for troubleshooting network connectivity issues?
It helps identify device connections and configurations.
By providing device details, CDP assists in verifying network connections and resolving issues in Cisco-only environments.
Why would you disable CDP on certain interfaces?
To enhance security by preventing device information exposure.
Disabling CDP can protect sensitive device data from unauthorized access or potential attacks.
What are common use cases for LLDP?
- Device discovery
- VoIP device integration
- Network monitoring
Device discovery: Identifies devices on the network for management.
VoIP device integration: Helps in configuring and managing VoIP devices.
Network monitoring: Provides network topology and status information for monitoring.
How does CDP contribute to network security?
It helps detect unauthorized devices but can expose critical information.
While useful for discovery, CDP’s exposure of device details can be a security risk if not managed properly.
Fill in the blank:
The command to display the LLDP neighbors on a Cisco device is ______ _______ _______.
show lldp neighbors
This command lists the devices discovered via LLDP and provides details such as port IDs and device capabilities.
True or False:
LLDP requires more configuration than CDP on Cisco devices.
False
Both CDP and LLDP are typically easy to configure, but LLDP may need additional settings for vendor-specific features like PoE.
Define:
CDP hold time
The duration CDP information remains valid.
The default hold time is 180 seconds, after which the data is cleared unless refreshed.
What are the components of a CDP message?
- Device ID
- Address
- Port ID
- Capabilities
- Platform
These elements form the complete message shared between CDP neighbors, helping administrators identify and manage devices.
Define:
LLDP TLV
Type-Length-Value, a format used in LLDP to carry device information.
TLVs provide a flexible and extensible method for encoding data such as device capabilities and port identifiers in LLDP messages.
What is the default LLDP hold time on most devices?
120 seconds
This is the period for which LLDP information is stored before being discarded unless updated.