2.3 Layer 2 Discovery Protocols Flashcards

Configure and verify Layer 2 discovery protocols (Cisco Discovery Protocol and LLDP). (38 cards)

1
Q

What is Cisco Discovery Protocol?

(CDP)

A

A Layer 2 protocol for discovering connected Cisco devices.

CDP shares device information such as IP address, platform, and port, helping with network troubleshooting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define:

Link Layer Discovery Protocol

(LLDP)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is Cisco Discovery Protocol (CDP) used in Cisco networks?

A

To gather device information like IP address and model.

CDP helps network admins troubleshoot and maintain network topology in Cisco-based environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why is LLDP considered a vendor-neutral alternative to CDP?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the advantages of using LLDP over CDP in a network?

A
  • 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What type of information can CDP provide about a connected device?

A
  • Device name
  • IP
  • Platform
  • Port

CDP provides detailed information that aids in troubleshooting, including the IOS version and hardware model of the device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define:

CDP neighbor

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do you verify CDP neighbors on a Cisco device?

A

show cdp neighbors

This command displays all Cisco devices that are directly connected and sharing CDP information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which command shows detailed information about a specific CDP neighbor on a Cisco device?

A

show cdp neighbors detail

This command provides in-depth details, such as IP address and platform, about a specific device discovered via CDP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the default hold time for CDP information on a Cisco device?

A

180 seconds

After 180 seconds, CDP data is discarded unless updated, helping keep neighbor information current.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does LLDP function in network discovery?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True or False:

LLDP is only supported by Cisco devices.

A

False

LLDP is an open standard supported by devices from various vendors, making it suitable for mixed-vendor environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command is used to enable CDP on a Cisco interface?

A

cdp run

This command activates CDP on an interface, enabling it to send and receive CDP packets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does the acronym LLDP-MED stand for?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does CDP be used for troubleshooting network connectivity issues?

A

It helps identify device connections and configurations.

By providing device details, CDP assists in verifying network connections and resolving issues in Cisco-only environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why would you disable CDP on certain interfaces?

A

To enhance security by preventing device information exposure.

Disabling CDP can protect sensitive device data from unauthorized access or potential attacks.

17
Q

What are common use cases for LLDP?

A
  • 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.

18
Q

How does CDP contribute to network security?

A

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.

19
Q

Fill in the blank:

The command to display the LLDP neighbors on a Cisco device is ______ _______ _______.

A

show lldp neighbors

This command lists the devices discovered via LLDP and provides details such as port IDs and device capabilities.

20
Q

True or False:

LLDP requires more configuration than CDP on Cisco devices.

A

False

Both CDP and LLDP are typically easy to configure, but LLDP may need additional settings for vendor-specific features like PoE.

21
Q

Define:

CDP hold time

A

The duration CDP information remains valid.

The default hold time is 180 seconds, after which the data is cleared unless refreshed.

22
Q

What are the components of a CDP message?

A
  • Device ID
  • Address
  • Port ID
  • Capabilities
  • Platform

These elements form the complete message shared between CDP neighbors, helping administrators identify and manage devices.

23
Q

Define:

LLDP TLV

A

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.

24
Q

What is the default LLDP hold time on most devices?

A

120 seconds

This is the period for which LLDP information is stored before being discarded unless updated.

25
Describe the **relationship** between LLDP and LLDP-MED.
LLDP-MED **extends** LLDP for multimedia devices like VoIP phones. ## Footnote *LLDP-MED* **supports** features such as PoE and power management specific to media devices, enabling better integration of multimedia systems.
26
# True or False: CDP can be used on **non-Cisco devices**.
False ## Footnote **CDP** is *Cisco proprietary* and cannot be used with devices from other vendors unless they support the protocol.
27
Which **Layer of the OSI model** do CDP and LLDP operate on?
Layer 2 | (Data Link Layer) ## Footnote Both protocols work at Layer 2, enabling them to *discover directly connected devices* within the same network segment.
28
How do you **disable CDP** on a Cisco interface?
By using the command **no cdp enable** ## Footnote This **command** disables CDP on an interface, preventing it from sending or receiving CDP information.
29
What are the commands to **verify LLDP operation** on a Cisco device?
1. show lldp neighbors 1. show lldp ## Footnote These commands *verify LLDP neighbors and display LLDP settings*, ensuring correct operation of the protocol.
30
# Define: LLDP neighbor
A device that **shares its information** with other devices using LLDP. ## Footnote *LLDP neighbors* **communicate** details about device identity and port capabilities, helping to build a network map.
31
# True or False: LLDP is **only used** for device discovery.
False ## Footnote **LLDP** can also be used for *network management* and provides features like VLAN and PoE information.
32
Which command will **disable LLDP** on a Cisco interface?
**no lldp transmit** or **no lldp receive** ## Footnote These commands *stop LLDP packets from being sent or received* on a specific interface.
33
Describe how LLDP **improves** network management.
It helps **map** network topology and **monitor** connected devices. ## Footnote **LLDP** *allows for better network visibility* and *easier troubleshooting* in environments with multiple vendors.
34
What **type of information** does LLDP transmit about a device?
* Device ID * Port ID * VLAN ID * Power status * Capabilities ## Footnote **LLDP** *shares vital device details*, including port and capabilities, to help build a comprehensive network map.
35
# True or False: CDP and LLDP **operate simultaneously** on the same network.
True ## Footnote Both protocols can **coexist**, allowing devices to discover neighbors using either protocol.
36
What is the **default advertisement interval** for LLDP on most devices?
30 seconds ## Footnote The default interval at which LLDP advertisements are sent is typically 30 seconds. This period ensures *timely updates of device information*.
37
What **security considerations** should be taken into account when using CDP?
**Exposure** of device details. ## Footnote **CDP** broadcasts *detailed information about network devices*, such as device names, IP addresses, and operating system versions. If intercepted, this data could be exploited by unauthorized entities.
38
How does LLDP **support** Voice over IP (VoIP) deployments?
Through LLDP-MED ## Footnote LLDP-MED (Media Endpoint Discovery) is an **extension** of LLDP designed to *enhance VoIP deployments*.