Figure 26-7. Configuration and Interface mode LLDP Commands
R1(conf)#protocol lldp
R1(conf-lldp)#?
advertise
disable
end
exit
hello
mode
multiplier
no
show
R1(conf-lldp)#exit
R1(conf)#interface gigabitethernet 1/31
R1(conf-if-gi-1/31)#protocol lldp
R1(conf-if-gi-1/31-lldp)#?
advertise
disable
end
exit
hello
mode
multiplier
no
show
R1(conf-if-gi-1/31-lldp)#
Enabling LLDP
LLDP is disabled by default. LLDP can be enabled and disabled globally or per interface. If LLDP is
enabled globally, all up interfaces send periodic LLDPDUs. To enable LLDP:
Step
Task
1
Enter Protocol LLDP mode.
2
Enable LLDP.
Disabling and Undoing LLDP
•
Disable LLDP globally or for an interface using the command
•
Undo an LLDP configuration by preceding the relevant command with the keyword
Advertising TLVs
You can configure the system to advertise TLVs out of all interfaces or out of specific interfaces.
•
If you configure the system globally, all interfaces will send LLDPDUs with the specified TLVs.
592
|
Link Layer Discovery Protocol
Advertise TLVs
Disable LLDP protocol globally
Exit from configuration mode
Exit from LLDP configuration mode
LLDP hello configuration
LLDP mode configuration (default = rx and tx)
LLDP multiplier configuration
Negate a command or set its defaults
Show LLDP configuration
Advertise TLVs
Disable LLDP protocol on this interface
Exit from configuration mode
Exit from LLDP configuration mode
LLDP hello configuration
LLDP mode configuration (default = rx and tx)
LLDP multiplier configuration
Negate a command or set its defaults
Show LLDP configuration
Command
protocol lldp
no disable
Command Mode
CONFIGURATION or INTERFACE
PROTOCOL LLDP
disable
.
no
.