3.18.2 LLDP Interface Configuration

Use this command to configure LLDP parameters for each port. Select the LLDP mode, enable CDP awareness, and configure whether an SNMP trap should be emitted when the LLDP neighbor table changes. Also, select optional TLVs (port description, system name, system description, capabilities, management address) to be included when LLDP information is transmitted.

Command Syntax:

lldp transmit  
lldp receive  
lldp cdp-aware
lldp trap
lldp tlv-select { management-address | port-description | system-capabilities | system-description | system-name }
Table 3-83. Command Description

Argument

Description

Parameter

transmit

Enable/disable transmission of LLDP frames.

receive

Enable/disable decoding of received LLDP frames.

cdp-aware

Configures if the interface shall be CDP aware (CDP discovery information is added to the LLDP neighbor table).

trap

Configures if an SNMP trap shall be emitted when the LLDP neighbor table changes for the interface.

tlv-select

Enables/disables LLDP optional TLVs to transmit.

Default

N.A

Mode

Port List Interface mode

Usage

Enable LLDP system settings. To disable, use the ‘no’ version of the command.

Example

Example 1:

Configure LLDP on port 1 as transmit only with CDP aware.

# configure terminal
(config)# interface GigabitEthernet 1/1
(config-if)# no lldp recieve 
(config-if)# lldp cdp-aware