187
By default, CDP compatibility is disabled globally.
The maximum TTL allowed by CDP is 255 seconds. You can configure the TTL configuration to be no
more than 255 seconds for CDP-compatible LLDP to operate with Cisco IP phones. The TTL configuration
is the product of the TTL multiplier and the LLDPDU transmit interval
Related commands:
lldp hold-multiplier
and
lldp timer tx-interval
.
Examples
# Globally enable LLDP to be compatible with CDP.
<Sysname> system-view
[Sysname] lldp compliance cdp
lldp enable
Syntax
lldp enable
undo lldp enable
View
System view, Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Description
Use the
lldp enable
command to enable LLDP.
Use the
undo lldp enable
command to disable LLDP.
By default, LLDP is enabled globally and on a port.
LLDP takes effect on a port only when LLDP is enabled both globally and on the port.
Examples
# Disable LLDP on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo lldp enable
lldp encapsulation snap
Syntax
lldp encapsulation snap
undo lldp encapsulation
View
Layer 2 Ethernet interface view, port group view