Procedure
- By default, the LLDP agent is enabled on all active interfaces. If LLDP was disabled, enable it with the command
lldp
.
- By default, the LLDP agent transmits and receive on all interfaces. To customize LLDP behavior on a specific interface, use the commands
lldp transmit
andlldp receive
.
- By default, the LLDP agent sets the management address in all TLVs in the following order:
LLDP management IP address.
Loopback interface IP.
ROP (L3 ports) or SVI (L2 ports).
OOBM (Management interface IP).
Base MAC.
- By default, all supported TLVs are sent and received. To customize the list, use the command
lldp select-tlv
.
- By default, support for the LLDP-MED TLV is enabled. To customize settings, use the commands
lldp med
andlldp med-location
.
- If required, adjust LLDP timer, holdtime, reinitialization delay, and transmit delay from their default values with the commands
lldp timer
,lldp holdtime
,lldp reinit
, andlldp txdelay
.
Example
This example creates the following configuration:
- Enables LLDP support.
- Disables LLDP transmission on interface1/1/1.
switch(config)#lldpswitch(config)#interface 1/1/1switch(config-copp)#no lldp transmit