225
Example
# 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
Description
Use the lldp encapsulation snap command to configure the encapsulation format for LLDPDUs as SNAP
on a port or a group of ports.
Use the undo lldp encapsulation command to restore the default encapsulation format for LLDPDUs.
By default, the encapsulation format for LLDPDUs is Ethernet II.
The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation.
Syntax
lldp encapsulation snap
undo lldp encapsulation
View
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Example
# 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
Description
Use the lldp fast-count command to set the number of the LLDPDUs sent each time fast LLDPDU
transmission is triggered.
Use the undo lldp fast-count command to restore the default.
By default, the number is 3.
Syntax
lldp fast-count count
undo lldp fast-count