218 
lldp compliance admin-status cdp 
Syntax 
lldp compliance admin-status cdp { disable | txrx } 
View 
Layer 2 Ethernet interface view, port group view 
Default level 
2: System level 
Parameters 
disable: Specifies the disable mode, where CDP-compatible LLDP cannot receive or transmit CDP 
packets.  
txrx: Specifies the TxRx mode, where CDP-compatible LLDP can send and receive CDP packets.  
Description 
Use the lldp compliance admin-status cdp command to configure the operating 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 operate in TxRx mode on the specified port(s).  
Related commands: lldp compliance cdp. 
Examples 
# Configure CDP-compatible LLDP to operate in TxRx mode on GigabitEthernet 1/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.