1-9
Configuration Prerequisites
Before configuring CDP compatibility, make sure that:
z
LLDP is enabled globally.
z
LLDP is enabled on the port connected to an IP phone and is configured to operate in TxRx mode
on the port.
Configuring CDP Compatibility
Follow these steps to enable LLDP to be compatible with CDP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable CDP compatibility
globally
lldp compliance cdp
Required
Disabled by default.
Enter Ethernet interface view
interface interface-type
interface-number
Required
Configure CDP-compatible
LLDP to operate in TxRx mode
lldp compliance admin-status cdp
txrx
Required, the
configuration applies to
the current port only.
By default,
CDP-compatible LLDP
operates in disable
mode.
As the maximum TTL allowed by CDP is 255 seconds, your TTL configuration, that is, the product of the
TTL multiplier and the LLDPDU sending interval, must be less than 255 seconds for CDP-compatible
LLDP to work properly with Cisco IP phones.
Configuring LLDP Trapping
LLDP trapping is used to notify NMS of the events such as new neighboring devices detected and link
malfunctions.
LLDP traps are sent periodically and you can set the interval to send LLDP traps. In response to
topology changes detected, a device sends LLDP traps according to the interval configured to inform
the neighboring devices of the changes.
Follow these steps to configure LLDP trap:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface view
interface interface-type interface-number
Required