205
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 Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo lldp enable
lldp encapsulation snap
Syntax
lldp encapsulation snap
undo lldp encapsulation
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
None
Description
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.
By default, the encapsulation format for LLDP frames is Ethernet II.
NOTE:
The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation.
Examples
# Configure the encapsulation format for LLDP frames as SNAP on Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] lldp encapsulation snap
lldp fast-count
Syntax
lldp fast-count count
undo lldp fast-count
View
System view
Default level
2: System level