Chapter 25
| LLDP Commands
– 799 –
lldp admin-status This command enables LLDP transmit, receive, or transmit and receive mode on the
specified port. Use the no form to disable this feature.
Syntax
lldp admin-status {rx-only | tx-only | tx-rx}
no lldp admin-status
rx-only - Only receive LLDP PDUs.
tx-only - Only transmit LLDP PDUs.
tx-rx - Both transmit and receive LLDP Protocol Data Units (PDUs).
Default Setting
tx-rx
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example
Console(config)#interface ethernet 1/1
Console(config-if)#lldp admin-status rx-only
Console(config-if)#
lldp basic-tlv
management-ip-
address
This command configures an LLDP-enabled port to advertise the management
address for this device. Use the no form to disable this feature.
Syntax
[no] lldp basic-tlv management-ip-address
Default Setting
Enabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
â—† The management address protocol packet includes the IPv4 address of the
switch. If no management address is available, the address should be the MAC
address for the CPU or for the port sending this advertisement.
â—† The management address TLV may also include information about the specific
interface associated with this address, and an object identifier indicating the
type of hardware component or protocol entity associated with this address.
The interface number and OID are included to assist SNMP applications to
perform network discovery by indicating enterprise specific or other starting
points for the search, such as the Interface or Entity MIB.