R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
177
Usage guidelines
LLDP takes effect on a port only when LLDP is enabled both globally and on the port.
The following matrix shows the command and router compatibility in Layer 2 Ethernet interface view:
Command HSR6802/HSR6804/HSR6808
lldp enable Yes on SAP modules operating in bridge mode
Examples
# Disable LLDP on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/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
Usage guidelines
The command does not apply to LLDP-CDP packets, which use only SNAP encapsulation.
The following matrix shows the command and router compatibility in Layer 2 Ethernet interface view:
Command HSR6802/HSR6804/HSR6808
lldp encapsulation
snap
Yes on SAP modules operating in bridge mode
Examples
# Configure the encapsulation format for LLDPDUs as SNAP on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] lldp encapsulation snap