1-12
Configuring CDP Compatibility
CDP-compatible LLDP operates in one of the follows two modes:
z
TxRx, where CDP packets can be transmitted and received.
z
Disable, where 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 configure CDP-compatible LLDP to operate in TxRx mode.
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
Enter
Ethernet
interface
view or port
group view
Enter port
group view
port-group manual port-group-name
Required
Use either command.
Configure CDP-compatible
LLDP to operate in TxRx
mode
lldp compliance admin-status cdp
txrx
Required
By default,
CDP-compatible LLDP
operates in disable mode.
As the maximum TTL allowed by CDP is 255 seconds, ensure that the product of the TTL multiplier and
the LLDPDU transmit interval is less than 255 seconds for CDP-compatible LLDP to work properly with
Cisco IP phones.
Configuring LLDP Trapping
LLDP trapping is used to notify the network management system (NMS) of events such as new
neighboring devices detected 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…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet
interface view
interface interface-type
interface-number
Enter
Ethernet
interface
view or port
group view
Enter port
group view
port-group manual port-group-name
Required
Use either command.