118
<Sysname> system-view
[Sysname] lldp compliance cdp
Related commands
•
lldp hold-multiplier
•
lldp timer tx-interval
lldp enable
Use
lldp enable
to enable LLDP.
Use
undo lldp enable
to disable LLDP.
Syntax
lldp enable
undo lldp enable
Default
LLDP is enabled on a port and disabled globally.
Views
System view, Layer 2 Ethernet interface view, port group view
Default command level
2: System level
Usage guidelines
LLDP takes effect on a port only when LLDP is enabled both globally and on the port.
Examples
# Disable LLDP on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] undo lldp enable
lldp encapsulation snap
Use
lldp encapsulation
snap
to configure the encapsulation format for LLDP frames as SNAP on a port or
a group of ports.
Use
undo lldp encapsulation
to restore the default encapsulation format for LLDP frames.
Syntax
lldp encapsulation snap
undo lldp encapsulation
Default
Ethernet II is the encapsulation format for LLDP frames.
Views
Layer 2 Ethernet interface view, port group view