Practice Q's - CDP Flashcards

1
Q

Which of the following is true about CDP?

A. It can be used to discover the network topology

B. It is used to generate a denial of service attack

C. It can be used as part of a MAC address flooding attack

D. It is used to generate a MAC spoofing attack

A

Answer: A

Explanation:

Cisco Discovery Protocol (CDP) is a Cisco proprietary protocol used by Cisco devices to obtain information about directly connected devices that are also made by Cisco. Since this information includes name, device type and capabilities, IP address, and other identifying information, if these packets are captured they can be used to map the network topology. Since the first step in the hacking process (Discovery, Penetration, and Control) is discovery, this can be a security threat.

CDP is not used to generate a DoS (denial-of-service) attack, which is an attack designed to overwhelm a device with work requests that make it unavailable for its normal jobs.

CDP is not used as part of a MAC address flooding attack. This is performed by a hacker creating packets with unique MAC addresses and flooding the switch’s CAM table with these packets.

When the CAM buffer is full, the switch will start sending packets out all interfaces enabling the hacker to capture packets from all switch ports, which is normally not possible on a switch, where each port is its own collision domain. CDP plays no role in this process.

CDP is not used to generate a MAC spoofing attack. This type of attack involves the creation of a packet using the MAC address of a known host in the network for the purpose of redirecting traffic to the hacker’s machine instead. CDP plays no role in this process.

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

Which command on a switchport can cause LLDP to accept LLDP packets but not send them?

  1. lldp run
  2. lldp advertise
  3. lldp receive
  4. no lldp transmit
A

Correct Answer: D

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

Which two statements about LLDP are true? (Choose two.)

  1. Switches can run LLDP and Cisco Discovery Protocol simultaneously.
  2. When it is enabled on a switch, Cisco Discovery Protocol must be disabled.
  3. When LLDP is enabled globally, it is enabled on all ports including tunnel ports.
  4. Devices with LLDP configured send advertisement messages to a unicast address on a periodic basis.
  5. Devices with LLDP configured send advertisement messages to a multicast address on a periodic basic.
A

Correct Answer: AE

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

Which two mandatory TLV types does LLDP advertise? (Choose two.)

  1. Native VLAN TLV
  2. Platform TLV
  3. Network TLV
  4. Hostname TLV
  5. E. ???
A

Correct Answer: BD

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

Which two TLVs are mandatory in LLDP advertisements? (Choose two.)

  1. Platform TLV
  2. System Capability TLV
  3. Network Policy TLV
  4. System Name TLV
  5. Native VLAN TLV
A

Correct Answer: BD

Explanation/Reference:

Following are the LLDP TLV’s. Only System Capability TLV and System Name TLV are valid LLDP TLV’s but they are optional, not mandatory. These are the two best answer choices based on the alternatives, perhaps the question was meant to read “Which two TLVs are optional in LLDP advertisements”

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

Which command sets the interval at which a device sends LLDP updates to its neighbors?

  1. lldp transmit
  2. lldp timer
  3. lldp holdtime
  4. lldp tlv-select
A

Correct Answer: B

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

Which two control protocols use the native VLAN 1 by default? (Choose two.)

  1. CDP
  2. VTP
  3. NTP
  4. LACP
  5. STP
A

Correct Answer: AB

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

Which command configures an interface to accept LLDP packets without enabling the interface to send the packet?

  1. lldp transmit
  2. lldp tlv-select
  3. lldp receive
  4. lldp run
A

Correct Answer: C

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