Configuring CDP compatibility
To make your router work with Cisco IP phones, you must enable CDP compatibility.
With CDP compatibility enabled, your router can receive and recognize CDP packets from a Cisco IP
phone and respond with CDP packets.
Configuration prerequisites
Before configuring CDP compatibility, perform the following configurations:
Enable LLDP globally.
•
Enable LLDP on the port connected to an IP phone and configured LLDP to operate in TxRx mode on
•
the port.
Configuring CDP compatibility
CDP-compatible LLDP operates in one of the follows modes:
TxRx—CDP packets can be transmitted and received.
•
Disable—CDP packets can be neither transmitted nor received.
•
To make CDP-compatible LLDP take effect on specific ports, first enable CDP-compatible LLDP globally,
and then configure CDP-compatible LLDP to operate in TxRx mode.
To enable LLDP to be compatible with CDP:
Step
1.
Enter system view.
2.
Enable CDP compatibility
globally.
3.
Enter Ethernet interface view
or port group view.
4.
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.
Command
system-view
lldp compliance cdp
•
Enter Layer 2 or Layer 3 Ethernet
interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual port-group-name
lldp compliance admin-status cdp txrx
143
Remarks
N/A
By default, CDP
compatibility is disabled.
Use either command.
The default setting is the
disable mode.