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

Layer 3 Ethernet interface view

Management Ethernet interface view

Predefined user roles

network-admin

mdc-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 Ten-GigabitEthernet 1/0/1.

<Sysname> system-view
[Sysname] lldp compliance cdp
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx

Related commands

lldp compliance cdp