278
lldp compliance admin-status cdp
Use lldp compliance admin-status cdp to set the operating mode of CDP-compatible
LLDP.
Use undo lldp compliance admin-status cdp to restore the default.
Syntax
lldp compliance admin-status cdp { disable | rx | txrx }
undo lldp compliance admin-status cdp
Default
CDP-compatible LLDP operates in Disable mode.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
disable: Specifies the Disable mode. CDP-compatible LLDP in this mode cannot receive or
transmit CDP packets.
txrx: Specifies the TxRx mode. CDP-compatible LLDP in this mode can send and receive CDP
packets.
rx: Specifies the Rx mode. CDP-compatible LLDP in this mode can receive but cannot send CDP
packets.
Usage guidelines
For your device to work with Cisco IP phones, you must perform the following tasks:
• Enable CDP-compatible LLDP globally.
• Configure CDP-compatible LLDP to operate in TxRx mode on the specified ports.
Examples
# Enable CDP-compatible LLDP globally and configure CDP-compatible LLDP to operate in TxRx
mode on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] lldp compliance cdp
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx
Related commands
lldp compliance cdp
lldp compliance cdp
Use lldp compliance cdp to enable CDP compatibility.
Use
undo lldp compliance cdp to disable CDP compatibility.
Syntax
lldp compliance cdp
undo lldp compliance cdp