A network administrator is replacing legacy Cisco access switches with multi-vendor infrastructure. On a Cisco Catalyst switch (SW-Access1), the administrator attempts to selectively enable Link Layer Discovery Protocol (LLDP) on interface GigabitEthernet1/0/5 to discover an adjacent non-Cisco VoIP gateway while disabling Cisco Discovery Protocol (CDP) on that specific link.
The administrator enters interface configuration mode and attempts the following command sequence:
SW-Access1(config)# interface gigabitethernet1/0/5
SW-Access1(config-if)# no cdp enable
SW-Access1(config-if)# lldp enable
The switch returns an error: `% Invalid input detected at '^' marker` pointing to the `enable` keyword.
Which combination of commands must the administrator issue to globally activate LLDP and correctly enable both transmission and reception of LLDP packets on interface GigabitEthernet1/0/5?
- Execute 'lldp run' in global configuration mode, and execute both 'lldp transmit' and 'lldp receive' in interface configuration mode.Answer
- BExecute 'lldp enable' in global configuration mode, and execute 'lldp run' in interface configuration mode.
- CExecute 'cdp run' in global configuration mode, and execute 'lldp tlv-select med-tlv' in interface configuration mode.
- DExecute 'lldp run' in global configuration mode, and execute 'lldp enable' in interface configuration mode.