CDP & LLDP Flashcards

Cisco Discovery Protocol and Link-Layer Discovery Protocol (63 cards)

1
Q

What is the MAC address for CDP multicast messages?

A

0100.0CCC.CCCC

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

T/F: CDP is enabled on all Cisco devices by default

A

T

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

T/F: When a device receives a CDP message, it processes and discards the message (doesn’t forward)

A

T

CDP messages are never forwarded. Therefore, only adjacent neighbors can receive CDP messages from a device

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

T/F: When a device receives a CDP message, it forwards the message to other Cisco devices

A

F

CDP messages are never forwarded. Therefore, only adjacent neighbors can receive CDP messages from a device

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

What is the default CDP message interval?

A

60 seconds

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

What is the default CDP hold time

A

180 seconds

If a message isn’t received within this time frame, the neighbor is removed from the CDP table

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

T/F: There are 2 versions of CDP, and the default is V1

A

F

CDPv2 is the default

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

T/F: There are 2 versions of CDP, and the default is V2

A

T

CDPv2 is the default

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

Command to show CDP information such as version, holdtime, etc.

A

sh cdp

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

Command to show CDP neighbor information

A

sh cdp neighbors

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

Command to show CDP related traffic metrics, including packets I/O, errors, etc.

A

sh cdp traffic

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

Command to show CDP related information on interfaces

A

sh cdp interface

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

What command should you use to view the information in a Cisco device’s neighbor table?

A

sh cdp neighbors

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

Command to show verbose information on CDP neighbors

A

sh cdp neighbors detail

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

What CDP command should be used to identify a native VLAN mismatch?

A

sh cdp neighbors detail

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

What CDP command should be used to identify speed/duplex configuration mismatches?

A

sh cdp neighbors detail

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

What CDP command should be used to view verbose information about one CDP neighbor

A

sh cdp entry neighbor-hostname

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

What is the output of

sh cdp

A

Basic CDP information, including timers, version, etc.

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

What is the output of

sh cdp traffic

A

How many CDP messages have been sent and receives, and errors

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

What is the output of

sh cdp interface

A

Displays which interfaces CDP is enabled on, and related per-device information

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

What is the output of

sh cdp neighbors

A

Lists CDP neighbors and basic information about each neighbor, including hostname and what port they are connected to on both sides

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

What is the output of

sh cdp neighbors detail

A

Lists each CDP neighbor with verbose, detailed information

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

What is the output of

sh cdp entry hostname

A

Displays the same information as sh cdp neighbors detail, but for only the neighbor with the specified hostname

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

T/F: If running all Cisco devices and CDP use is desired, then configuration is required on each device

A

F

CDP is configured as necessary by default on all Cisco devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Command to disable CDP on an entire device
from global config mode: no cdp run
26
Command to enable CDP, if it isn't enabled already
from global config mode: cdp run
27
Command to disable CDP on an interface
from interface config mode: no cdp enable
28
Command to enable CDP on an interface, if it isn't already
from interface config mode: cdp enable
29
Command to adjust CDP message timer
from global config mode: **cdp timer** *seconds*
30
Command to adjust CDP holdtime:
from global config mode: **cdp holdtime** *seconds*
31
Command to enable/disable CDP V2
from global config mode: [no] cdp advertise-v2
32
What is the IEEE standard for LLDP
IEEE 802.1AB
33
T/F: LLDP is usually disabled on Cisco devices by default
T
34
T/F: LLDP is usually enabled on Cisco devices by default
F Must be configured for use on Cisco devices
35
What is the multicast MAC address for LLDP
0180.C200.000E
36
T/F: When a device receives an LLDP message, it processes it and discards it
T
37
T/F: When a device receives an LLDP message, it processes it and forwards it
F LLDP messages are discarded after being processed, so that only adjacent neighbors ever receive LLDP messages
38
What is the default message timer for LLDP
30 seconds
39
What is the default hold time for LLDP
120 seconds
40
What is the default re-initialization delay for LLDP
2 seconds
41
What is the purpose of the LLDP re-initialization timer
If LLDP is enabled either globally or on a specific interface, this timer will delay the actual initialization of LLDP. This is to help in cases of flapping, where LLDP is rapidly disabled and re-enabled This is likely not on the CCNA exam
42
T/F: On Cisco devices, LLDP is usually disabled both globally and on each interface
T
43
T/F: On Cisco devices, LLDP is usally enabled globally but disabled on each interface
F LLDP is disabled globally and on each int by default
44
T/F: On Cisco devices, LLDP is usually disabled globally but enabled on each interface
F LLDP is disabled globally and on each int by default
45
What is the command to enable LLDP globally on Cisco devices
lldp run
46
What is the command to enable LLDP on an interface in the transmit direction
From interface config mode: lldp transmit
47
What is the command to enable LLDP on an interface in the receive direction
From interface config mode: lldp receive
48
What is the command to adjust the LLDP message timer
lldp timer
49
What is the command to adjust the LLDP hold timer
lldp holdtime
50
What is the command to adjust the LLDP re-init timer
lldp reinit
51
Command to show basic information about LLDP
sh lldp
52
Command to show LLDP message counters and errors
sh lldp traffic
53
Command to show which interfaces LLDP is operating on (tx or rx)
sh lldp interface
54
Command to list LLDP neighbors and basic info on neighbors
sh lldp neighbors
55
Command to show detailed information about LLDP neighbors
sh lldp neighbors detail
56
Command to show detailed information for a single LLDP neighbor
sh lldp entry
57
What is shown by the following command: sh lldp
Basic LLDP configuration information
58
What is shown by the following command: sh lldp traffic
LLDP message counters, including errors
59
What is shown by the following command: sh lldp interface
Which interfaces LLDP tx/rx is enabled on
60
What is shown by the following command: sh lldp neighbors
LLDP neighbors and basic information about each neighbor
61
What is shown by the following command: sh lldp neighbors detail
Detailed information about each LLDP neighbor
62
What is shown by the following command: sh lldp entry
Detailed information about a single specified LLDP neighbor
63
What command should be used to restore the LLDP hold timer configuration to its default value?
**no lldp holdtime**