3.6 Cisco Discovery Protocol Flashcards

1
Q

What is CDP?

A

Cisco Discovery Protocol (CDP) is a layer 2 (Data Link) protocol that runs on all Cisco devices. CDP broadcasts periodic advertisements.

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

When should you disable CDP?

A

On routers on the edge of the network and user facing interfaces

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

Router(config)#show cdp

A

Checks the status of CDP

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

Router(config)#no cdp run

A

Disables CDP for all interfaces on a device

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

Router(config)#cdp run

A

Enables CDP for all interfaces on a device

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

Router(config)#no cdp enable

A

Disables CDP on that interface, but keeps CDP enabled for the device.

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

Router(config)#cdp enable

A

Enables CDP on that interface.

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

Router#show cdp neighbors

A

Checks for the status of CDP and shows a list of neighboring devices.

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

What details does the command show cdp neighbors show

A

Device identifier – provides the host name of the neighboring device
Port identifiers – provides the name of the local and remote port
Capabilities list – indicates whether the device is a switch or a router
Platform – indicates the hardware platform of the device

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

Router#show cdp neighbors detail

A

Provides the same information as show cdp neighbors as well as additional information such as IP address and IOS version.

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

Router#show cdp interface

A

Provides the full CDP configuration for the interface.

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

Router#show ip interface brief

A

Provides the abbreviated CDP configuration for the interface.

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

Router(config)#lldp run

A

Enables LLDP globally on the router.

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

Router(config)#no lldp run

A

Disables LLDP on a router and prevents the router from exchanging LLDP packets.

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

Router(config-if)#lldp transmit

A

Enables the interface to send LLDP information.

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

Router(config-if)#no lldp transmit

A

Disables the interface from sending LLDP information.

17
Q

Router(config-if)#lldp receive

A

Enables the interface to receive LLDP information.

18
Q

Router(config-if)#no lldp receive

A

Disables the interface from receiving LLDP information.

19
Q

Router#show lldp

A

Displays LLDP information, including frequency of transmissions, hold time for packets to be sent, and the delay time for LLDP initialization on an interface.

20
Q

Router#show lldp interface

A

Displays information about interfaces that have LLDP enabled, including transmit and receive configuration, as well as the current state.

21
Q

Router#show lldp neighbors

A
Displays information about all neighboring Cisco devices, including:
Device ID
Local interface
Holdtime
Capability
Port ID
22
Q

Router#show lldp neighbors detail

A

In addition to displaying all the same information as the show lldp neighbors command, it also displays the following:
Physical media information and capabilities
A description of the neighbor
Software version

23
Q

Router#show lldp entry

A

Displays information about all neighbors similar to the show lldp neighbors detail command.

24
Q

Router#show lldp entry neighbor_name

A

Displays similar information for the specified LLDP neighbor.

25
Router#show lldp traffic
Shows the current state of LLDP traffic, including the number of frames in and out, the number of dropped frames, and the number of Type-Length-Values (TLVs) discarded or un-recognized.
26
Router#clear lldp counters
Resets traffic counters to 0.
27
Router#show lldp errors
Shows lldp error counters.
28
Router(config)#lldp holdtime [10-255]
Specifies the amount of time that information in a packet is still valid. The default is 120 seconds. Use the no lldp holdtime command to reset the value to its default.
29
Router(config)#lldp timer [5-254]
Specifies how often LLDP packets are exchanged. The default is 30 seconds. Use the no lldp timer command to reset the value to its default.
30
What does the protocol LLDP do
allows a network engineer to discover non-Cisco devices in the network