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

Management 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:

Examples

# Enable CDP-compatible LLDP globally and configure CDP-compatible LLDP to operate in TxRx mode on .

<Sysname> system-view
[Sysname] lldp compliance cdp
[Sysname] interface 
[Sysname-] lldp compliance admin-status cdp txrx

Related commands

lldp compliance cdp