Step
5.
Set the number of LLDPDUs
sent each time fast LLDPDU
transmission is triggered.
Setting an encapsulation format for LLDPDUs
LLDPDUs can be encapsulated in the following formats: Ethernet II or SNAP frames.
With Ethernet II encapsulation configured, an LLDP port sends LLDPDUs in Ethernet II frames and
•
processes only incoming, Ethernet II encapsulated LLDPDUs.
With SNAP encapsulation configured, an LLDP port sends LLDPDUs in SNAP frames and processes
•
only incoming, SNAP encapsulated LLDPDUs.
By default, Ethernet II frames encapsulate LLDPDUs. If the neighbor devices encapsulate LLDPDUs in
SNAP frames, configure the encapsulation format for LLDPDUs as SNAP to guarantee normal
communication with the neighbors.
To set the encapsulation format for LLDPDUs to SNAP:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view.
3.
Set the encapsulation
format for LLDPDUs to
SNAP.
NOTE:
LLDP-CDP (Cisco Discovery Protocol) packets use only SNAP encapsulation.
Configuring CDP compatibility
To make your device work with Cisco IP phones, you must enable CDP compatibility.
If your LLDP-enabled device cannot recognize CDP packets, it does not respond to the requests of Cisco
IP phones for the voice VLAN ID configured on the device. As a result, a requesting Cisco IP phone sends
voice traffic without any tag to your device, and, as a result, your device cannot differentiate the voice
traffic from other types of traffic.
With CDP compatibility enabled, your device can receive and recognize CDP packets from a Cisco IP
phone and respond with CDP packets, which carry the voice VLAN configuration TLVs. According to the
voice VLAN configuration TLVs, the IP phone automatically configures the voice VLAN. As a result, the
voice traffic is confined in the configured voice VLAN, and differentiated from other types of traffic.
For more information about voice VLANs, see
Configuration prerequisites
Before you configure CDP compatibility, complete the following tasks:
Command
lldp fast-count count
Command
system-view
interface interface-type interface-number
lldp encapsulation snap
"Configuring a voice
203
Remarks
Optional.
3 by default.
Remarks
N/A
N/A
Ethernet II encapsulation
format applies by default.
VLAN."