Configuration prerequisites
Before you configure CDP compatibility, complete the following tasks:
Globally enable LLDP.
•
Enable LLDP on the port connecting to an IP phone and configure the port to operate in TxRx mode.
•
Configuring CDP compatibility
CDP-compatible LLDP operates in one of the follows modes:
TxRx: The CDP packets can be transmitted and received.
•
Disable: The CDP packets can neither be transmitted nor be received.
•
To make CDP-compatible LLDP take effect on certain ports, first enable CDP-compatible LLDP globally,
and then configure CDP-compatible LLDP to operate in TxRx mode.
Follow these steps to enable LLDP to be compatible with CDP:
To do...
Enter system view
Enable CDP compatibility globally
Enter
Ethernet
interface
view or port
group view
Configure CDP-compatible LLDP to
operate in TxRx mode
CAUTION:
The maximum TTL value allowed by CDP is 255 seconds. To make CDP-compatible LLDP work properly
with Cisco IP phones, make sure that the product of the TTL multiplier and the LLDPDU transmit interval is
less than 255 seconds.
Configuring LLDP trapping
LLDP trapping notifies the network management system (NMS) of events such as newly-detected
neighboring devices and link malfunctions.
To prevent excessive LLDP traps from being sent when topology is unstable, you can set a minimum trap
sending interval for LLDP.
Follow these steps to configure LLDP trapping:
To do...
Enter system view
Use the command...
system-view
lldp compliance cdp
Enter Layer
2/Layer 3 Ethernet
interface interface-type interface-number
interface view
Enter port group
port-group manual port-group-name
view
lldp compliance admin-status cdp txrx
Use the command...
system-view
222
Remarks
—
Required
Disabled by default.
Required
Use either command.
Required
Disable mode by default
Remarks
—