Yeah... the command sucks in this question. luckily to answer this one you don't even need to look at the command. LLDP is configured from global configuration mode and only one prompt is in that mode - regardless of the command, any LLDP configuration needs to be done from global config mode.
1- Enable LLDP globally
switch(config)# lldp run
2- Enable LLDP on a specific interface:
Switch(config)# interface GigabitEthernet 1/0/2
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
3- Configure the Port Description (if needed) (To manually set a port description):
Switch(config-if)# description "Port 1 - Connected to Device XYZ"
The Qstn was to config the LLDP globally, so "D"
LLDP can be configured on either an individual interface or globally. However, you don't usually need to apply the configuration on all the ports. Therefore A is more likely to be correct. But anyway this is a bad question, another poorly designed question from Cisco.
The answer is A.
To configure Link Layer Discovery Protocol (LLDP) to send the port description type length value (TLV) on a Cisco switch, the correct command sequence is:
A. switch(config-if)#lldp port-description
This command needs to be entered in the interface configuration mode. Here is the detailed command sequence:
configuring which type-length values to enable is done in global config mode not interface config mode.....syntax is lldp + tlv-select + (enter TLV name)
the answer is A
Check this on page no 2 https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_37_ey/configuration/guide/scg/swlldp.pdf
The differences between the two options:
A. switch(config-if)#lldp port-description
D. switch(config)#lldp port-description
The correct answer is A because LLDP configuration is usually done at the interface level. The command lldp port-descriptionis used to configure the port description for LLDP on a specific interface. By entering the command in interface configuration mode ( config-if), this configuration is only applied to the selected interface.
Option D is not correct because lldp port-descriptionis entered in global configuration mode. If you do this, the configuration will be applied globally to the entire device and not just to a specific interface.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Joe_Q
Highly Voted 3 years, 8 months agoIxlJustinlxl
Highly Voted 3 years, 7 months agoajiron
2 years, 11 months agoNazi_m
Most Recent 3 days, 22 hours agoJoshua25
2 months agomatass_md
4 months, 4 weeks agoAgribaba
6 months, 2 weeks agokalitwol
8 months, 4 weeks ago[Removed]
9 months, 1 week agoVanessaR05
9 months, 1 week agoHarsh2729
9 months, 2 weeks ago7d040c6
4 months, 2 weeks agoa67c04a
10 months, 1 week agocruzi
11 months agoJunsK1e
1 year, 1 month agoNewJeans
1 year, 1 month agoPatrickKubay
1 year, 2 months agoR4mzes
1 year, 6 months ago[Removed]
1 year, 10 months ago