nerdexam
Cisco

350-801 · Question #291

The IP phones at a customer site do not pick an IP address from the DHCP. An engineer must temporarily disable LLDP on all ports of the switch to leave only CDP. Which two commands accomplish this…

The correct answer is B. Switch# configure terminal D. Switch(config)# no lldp run. To temporarily disable LLDP globally on a Cisco switch and ensure only CDP is active, the engineer must enter global configuration mode and then execute the command to turn off LLDP runtime operations.

Protocols and Endpoints

Question

The IP phones at a customer site do not pick an IP address from the DHCP. An engineer must temporarily disable LLDP on all ports of the switch to leave only CDP. Which two commands accomplish this task? (Choose two.)

Options

  • ASwitch(config)# no lldp transmit
  • BSwitch# configure terminal
  • CSwitch# copy running-config startup-config
  • DSwitch(config)# no lldp run
  • ESwitch(config)# interface GigabitEthernet1/0/1

How the community answered

(47 responses)
  • A
    2% (1)
  • B
    89% (42)
  • C
    6% (3)
  • E
    2% (1)

Why each option

To temporarily disable LLDP globally on a Cisco switch and ensure only CDP is active, the engineer must enter global configuration mode and then execute the command to turn off LLDP runtime operations.

ASwitch(config)# no lldp transmit

The `no lldp transmit` command disables LLDP transmission only on a specific interface, not globally across the switch.

BSwitch# configure terminalCorrect

The `configure terminal` command is essential to enter the global configuration mode, which is required before executing commands that modify the switch's global settings, such as disabling LLDP.

CSwitch# copy running-config startup-config

The `copy running-config startup-config` command saves the current active configuration, but it does not directly disable LLDP.

DSwitch(config)# no lldp runCorrect

The `no lldp run` global configuration command completely disables the LLDP protocol on the entire switch, preventing it from transmitting or receiving LLDP packets on any interface, thus leaving only CDP active.

ESwitch(config)# interface GigabitEthernet1/0/1

The `interface GigabitEthernet1/0/1` command enters interface-specific configuration mode, which is not the global configuration context needed to disable LLDP entirely.

Concept tested: Disabling LLDP globally on Cisco IOS switches

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/3se/lldp/configuration_guide/b_lldp_3se_3850_cg/b_lldp_3se_3850_cg_chapter_01.html#concept_E7764A96DD8C4AF7A49444ED3D1A5626

Topics

#LLDP#Switch Configuration#Network Protocols#Cisco IOS

Community Discussion

No community discussion yet for this question.

Full 350-801 Practice