Description
Use the lldp compliance admin-status cdp command to configure the operation mode of
CDP-compatible LLDP on a port or port group.
By default, CDP-compatible LLDP operates in disable mode.
To have your device work with Cisco IP phones, you must enable CDP-compatible LLDP globally and
then configure CDP-compatible LLDP to work in TxRx mode on the specified port(s).
Related commands: lldp compliance cdp.
Examples
# Configure CDP-compatible LLDP to operate in TxRx mode on GigabitEthernet1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx
lldp compliance cdp
Syntax
lldp compliance cdp
undo lldp compliance cdp
View
System view
Default Level
2: System level
Parameters
None
Description
Use the lldp compliance cdp command to enable CDP compatibility globally.
Use the undo lldp compliance cdp command to restore the default.
By default, CDP compatibility is disabled globally.
Note that, as the maximum TTL allowed by CDP is 255 seconds, your TTL configuration, that is, the
product of the TTL multiplier and the LLDPDU transmit interval, must be no more than 255 seconds for
CDP-compatible LLDP to work properly with Cisco IP phones.
Related commands: lldp hold-multiplier, lldp timer tx-interval.
Examples
# Enable LLDP to be compatible with CDP globally.
<Sysname> system-view
[Sysname] lldp compliance cdp
5-17