CDP & LLDP Flashcards
Cisco Discovery Protocol and Link-Layer Discovery Protocol
What is the MAC address for CDP multicast messages?
0100.0CCC.CCCC
T/F: CDP is enabled on all Cisco devices by default
T
T/F: When a device receives a CDP message, it processes and discards the message (doesn’t forward)
T
CDP messages are never forwarded. Therefore, only adjacent neighbors can receive CDP messages from a device
T/F: When a device receives a CDP message, it forwards the message to other Cisco devices
F
CDP messages are never forwarded. Therefore, only adjacent neighbors can receive CDP messages from a device
What is the default CDP message interval?
60 seconds
What is the default CDP hold time
180 seconds
If a message isn’t received within this time frame, the neighbor is removed from the CDP table
T/F: There are 2 versions of CDP, and the default is V1
F
CDPv2 is the default
T/F: There are 2 versions of CDP, and the default is V2
T
CDPv2 is the default
Command to show CDP information such as version, holdtime, etc.
sh cdp
Command to show CDP neighbor information
sh cdp neighbors
Command to show CDP related traffic metrics, including packets I/O, errors, etc.
sh cdp traffic
Command to show CDP related information on interfaces
sh cdp interface
What command should you use to view the information in a Cisco device’s neighbor table?
sh cdp neighbors
Command to show verbose information on CDP neighbors
sh cdp neighbors detail
What CDP command should be used to identify a native VLAN mismatch?
sh cdp neighbors detail
What CDP command should be used to identify speed/duplex configuration mismatches?
sh cdp neighbors detail
What CDP command should be used to view verbose information about one CDP neighbor
sh cdp entry neighbor-hostname
What is the output of
sh cdp
Basic CDP information, including timers, version, etc.
What is the output of
sh cdp traffic
How many CDP messages have been sent and receives, and errors
What is the output of
sh cdp interface
Displays which interfaces CDP is enabled on, and related per-device information
What is the output of
sh cdp neighbors
Lists CDP neighbors and basic information about each neighbor, including hostname and what port they are connected to on both sides
What is the output of
sh cdp neighbors detail
Lists each CDP neighbor with verbose, detailed information
What is the output of
sh cdp entry hostname
Displays the same information as sh cdp neighbors detail, but for only the neighbor with the specified hostname
T/F: If running all Cisco devices and CDP use is desired, then configuration is required on each device
F
CDP is configured as necessary by default on all Cisco devices
Command to disable CDP on an entire device
from global config mode: no cdp run
Command to enable CDP, if it isn’t enabled already
from global config mode: cdp run
Command to disable CDP on an interface
from interface config mode: no cdp enable
Command to enable CDP on an interface, if it isn’t already
from interface config mode: cdp enable
Command to adjust CDP message timer
from global config mode: cdp timer seconds
Command to adjust CDP holdtime:
from global config mode: cdp holdtime seconds
Command to enable/disable CDP V2
from global config mode: [no] cdp advertise-v2
What is the IEEE standard for LLDP
IEEE 802.1AB
T/F: LLDP is usually disabled on Cisco devices by default
T
T/F: LLDP is usually enabled on Cisco devices by default
F
Must be configured for use on Cisco devices
What is the multicast MAC address for LLDP
0180.C200.000E
T/F: When a device receives an LLDP message, it processes it and discards it
T
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
What is the default message timer for LLDP
30 seconds
What is the default hold time for LLDP
120 seconds
What is the default re-initialization delay for LLDP
2 seconds
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
T/F: On Cisco devices, LLDP is usually disabled both globally and on each interface
T
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
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
What is the command to enable LLDP globally on Cisco devices
lldp run
What is the command to enable LLDP on an interface in the transmit direction
From interface config mode: lldp transmit
What is the command to enable LLDP on an interface in the receive direction
From interface config mode: lldp receive
What is the command to adjust the LLDP message timer
lldp timer <seconds></seconds>
What is the command to adjust the LLDP hold timer
lldp holdtime <seconds></seconds>
What is the command to adjust the LLDP re-init timer
lldp reinit <seconds></seconds>
Command to show basic information about LLDP
sh lldp
Command to show LLDP message counters and errors
sh lldp traffic
Command to show which interfaces LLDP is operating on (tx or rx)
sh lldp interface
Command to list LLDP neighbors and basic info on neighbors
sh lldp neighbors
Command to show detailed information about LLDP neighbors
sh lldp neighbors detail
Command to show detailed information for a single LLDP neighbor
sh lldp entry <hostname></hostname>
What is shown by the following command:
sh lldp
Basic LLDP configuration information
What is shown by the following command:
sh lldp traffic
LLDP message counters, including errors
What is shown by the following command:
sh lldp interface
Which interfaces LLDP tx/rx is enabled on
What is shown by the following command:
sh lldp neighbors
LLDP neighbors and basic information about each neighbor
What is shown by the following command:
sh lldp neighbors detail
Detailed information about each LLDP neighbor
What is shown by the following command:
sh lldp entry <hostname></hostname>
Detailed information about a single specified LLDP neighbor
What command should be used to restore the LLDP hold timer configuration to its default value?
no lldp holdtime