By default, LLDP is enabled globally, on each physical interface, and on management port. You can disable LLDP globally and on an interface. If you disable LLDP globally, LLDP is disabled on all interfaces irrespective of whether LLDP is previously enabled or disabled on an interface. When you enable LLDP globally, the interface-level LLDP configuration takes precedence over the global LLDP configuration.
Disable LLDP
Disable LLDP globally in CONFIGURATION mode.
OS10(config)# no lldp enable
Disable LLDP on an interface, use the
lldp transmit and
lldp receive commands in INTERFACE mode.
OS10(conf-if-eth1/1/2)# no lldp transmit
OS10(conf-if-eth1/1/2)# no lldp receive
Management interface:
OS10(conf-if-ma-1/1/1)# no lldp transmit
OS10(conf-if-ma-1/1/1)# no lldp receive
Enable LLDP
When LLDP is disabled on a switch, you can reenable LLDP globally or on an interface.
To enable LLDP globally:
Enable LLDP globally in CONFIGURATION mode.
OS10(config)# lldp enable
To enable LLDP on an interface:
When you enable LLDP globally, it is enabled on all interfaces. You can enable or disable LLDP on individual interfaces to both transmit and receive LLDP information. Also, you can configure an interface to only transmit or receive LLDP information.