•
Configurations made at the INTERFACE level affect only the specific interface; they override CONFIGURATION level configurations.
Example of the protocol lldp Command (CONFIGURATION Level)
R1(conf)#protocol lldp
R1(conf-lldp)#?
advertise
Advertise TLVs
disable
Disable LLDP protocol globally
end
Exit from configuration mode
exit
Exit from LLDP configuration mode
hello
LLDP hello configuration
mode
LLDP mode configuration (default = rx and tx)
multiplier
LLDP multiplier configuration
no
Negate a command or set its defaults
show
Show LLDP configuration
Dell(conf-lldp)#exit
Dell(conf)#interface tengigabitethernet 1/1/3/1
Dell(conf-if-te-1/1/3/1)#protocol lldp
Dell(conf-if-te-1/1/3/1-lldp)#?
advertise
Advertise TLVs
disable
Disable LLDP protocol on this interface
end
Exit from configuration mode
exit
Exit from LLDP configuration mode
hello
LLDP hello configuration
mode
LLDP mode configuration (default = rx and tx)
multiplier
LLDP multiplier configuration
no
Negate a command or set its defaults
show
Show LLDP configuration
Enabling LLDP
LLDP is enabled by default. Enable and disable LLDP globally or per interface. If you enable LLDP globally, all UP interfaces send periodic
LLDPDUs.
To enable LLDP, use the following command.
1
Enter Protocol LLDP mode.
CONFIGURATION or INTERFACE mode
protocol lldp
2
Enable LLDP.
PROTOCOL LLDP mode
no disable
Disabling and Undoing LLDP
To disable or undo LLDP, use the following command.
•
Disable LLDP globally or for an interface.
disable
To undo an LLDP configuration, precede the relevant command with the keyword no.
Link Layer Discovery Protocol (LLDP)
519