
142
Views
System view, Layer 2 Ethernet interface view, Layer 3 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 Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] undo lldp enable
lldp encapsulation snap
Use
lldp encapsulation
snap
to configure the encapsulation format for LLDPDUs as SNAP on a
port or a group of ports.
Use
undo lldp encapsulation
to restore the default encapsulation format for LLDPDUs.
Syntax
lldp encapsulation snap
undo lldp encapsulation
Default
Ethernet II is the encapsulation format for LLDPDUs.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, port group view
Default command level
2: System level
Examples
# Configure the encapsulation format for LLDPDUs as SNAP on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] lldp encapsulation snap
lldp fast-count
Use
lldp fast-count
to set the number of the LLDPDUs sent each time fast LLDPDU transmission is
triggered.
Use
undo lldp fast-count
to restore the default.
Syntax
lldp fast-count count
undo lldp fast-count
Default
The number is 3.