Configuring a Cisco Router Flashcards

1
Q

What is CDP and what is LLDP?

A

CDP - Cisco Discovery Protocol

-only supports Cisco devices

LLDP - Link Layer Discovery Protocol

-vendor neutral version of CDP

Both CDP and LLDP are used as a network discovery tool.

They also are a carrier / communication tool that can work with TLV (Type, Length, Value) fields to neighboring devices.

Example - When a device is plugged into a switch and needs PoE supplied power, LLDP is the protocol that allows that negotiation to happen.

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

What are the commands to configure CDP globally and on specific interfaces?

A

At the global config you can run either:

cdp run

no cdp run

At the interface config you can run either:

cdp enable

no cdp enable

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

What is the difference in configuration of LLDP vs. CDP and the commands to configure?

A

The main difference in configuration is that you must have LLDP enabled globally and then you can specify the ports that have it enabled or disabled. By default, after LLDP is enabled globally, all ports are enabled for transmit and receive.

From the global config:

[no] lldp run

From the interface config:

[no] lldp transmit

[no] lldp receive

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

What is the command to check the specific settings of CDP and LLDP, such as how often their advertisements are sent out?

A

show cdp

show lldp

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

What are the commands for checking for neighboring devices with CDP and LLDP?

A

show cdp neighbors (detail)

show lldp neighbors (detail)

NOTE - If you are not seeing any expected cdp or lldp neighbors, it’s possible that the other device(s) have cdp and/or lldp disabled on their interfaces.

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