Configuration procedure

CDP-compatible LLDP operates in one of the following modes:

To make CDP-compatible LLDP take effect on ports, follow these steps:

  1. Enable CDP-compatible LLDP globally.

  2. Configure CDP-compatible LLDP to operate in TxRx mode.

The maximum TTL value that CDP allows is 255 seconds. To make CDP-compatible LLDP work correctly with Cisco IP phones, configure the LLDP frame transmission interval to be no more than 1/3 of the TTL value.

To enable LLDP to be compatible with CDP:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable CDP compatibility globally.

lldp compliance cdp

By default, CDP compatibility is disabled globally.

3. Enter Layer 2/Layer 3 Ethernet interface view or management Ethernet interface view.

interface interface-type interface-number

N/A

4. Configure CDP-compatible LLDP to operate in TxRx mode.

lldp compliance admin-status cdp txrx

By default, CDP-compatible LLDP operates in disable mode.