R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference

175
<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 6602
HSR6602
6604/6608/6616
lldp encapsulation snap No No
Yes on SAP modules
operating in bridge mode
The following matrix shows the command and router compatibility in port group view:
Command 6602
HSR6602
6604/6608/6616
lldp encapsulation snap No No
Yes on routers installed with
the MPU RPE-X1 or RSE-X1
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
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.