lldp enable transmit

Changes the Link Layer Discovery Protocol (LLDP) operating mode to transmit-only mode.
Syntax
lldp enable transmit ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
no lldp enable transmit ports { all | [ ethernet unit/slot/port [ to unit/slot/port ] ... ] }
Command Default

When LLDP is enabled on a global basis, each port on the device is capable of transmitting and receiving LLDP packets.

Parameters
ports
Changes the LLDP operating mode to transmit-only mode for ports.
all
Changes the LLDP operating mode to transmit-only mode for all LLDP-capable ports.
ethernet unit/slot/port
Changes the LLDP operating mode to transmit-only mode for the specified Ethernet interface.
to unit/slot/port
Changes the LLDP operating mode to transmit-only mode for a range of Ethernet interfaces.
Modes

Global configuration mode

Usage Guidelines
Note: To change a port's LLDP operating mode from receive- only to transmit-only, first disable receive-only mode, and then enable transmit-only mode. If you do not disable receive-only mode, you will configure the port to both receive and transmit LLDP packets.

You can specify a list of ports, separated by a space, or a range of ports, or you can combine lists and ranges.

The command cannot support LAG virtual interfaces. Attempting to configure them will have no effect.

The no form of the command changes the LLDP operating mode to receive-only mode if the device is in both transmit and receive mode, and it disables the LLDP transmit-only operating mode if transmit-only mode was enabled.

Examples

The following example sets the LLDP operating mode to transmit-only mode.

device(config)# no lldp enable receive ports ethernet 1/1/1 ethernet 1/1/8
device(config)# lldp enable transmit ports ethernet 1/1/1 ethernet 1/1/8