Description
Use lldp enable to enable LLDP.
Use undo lldp enable to disable LLDP.
By default, LLDP is enabled on a port, and enabled globally.
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
Default level
2: System level
Parameters
None
Description
Use lldp encapsulation snap to configure the encapsulation format for LLDPDUs as SNAP on a port.
Use undo lldp encapsulation to restore the default encapsulation format for LLDPDUs.
By default, the encapsulation format for LLDPDUs is Ethernet II.
NOTE:
The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation.
Examples
# Configure the encapsulation format for LLDPDUs as SNAP on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] lldp encapsulation snap
lldp fast-count
Syntax
lldp fast-count count
undo lldp fast-count
218