R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
216
• Ethernet II encapsulation—An LLDP port sends LLDPDUs in Ethernet II frames and processes only
incoming, Ethernet II encapsulated LLDPDUs.
• SNAP encapsulation—An LLDP port sends LLDPDUs in SNAP frames and processes only incoming,
SNAP encapsulated LLDPDUs.
By default, LLDPDUs are encapsulated in Ethernet II frames. If neighbor devices encapsulate LLDPDUs in
SNAP frames, configure the encapsulation format for LLDPDUs as SNAP to guarantee normal
communication with neighbors.
LLDP-CDP (Cisco Discovery Protocol) packets use only SNAP encapsulation.
To set the encapsulation format for LLDPDUs to SNAP:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter Ethernet interface
view or port group view.
• Enter Layer 2/Layer 3 Ethernet interface
view:
interface interface-type interface-number
• Enter port group view:
port-group manual port-group-name
Use either command.
3. Set the encapsulation
format for LLDPDUs to
SNAP.
lldp encapsulation snap
By default, Ethernet II
encapsulation format
applies.
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 requests from Cisco IP
phones for the voice VLAN ID configured on the device. When a requesting Cisco IP phone sends voice
traffic without any tag to your device, 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 TLVs with the voice VLAN configuration. The IP phone
automatically configures the voice VLAN according to TLVs with the voice VLAN configuration. As a
result, voice traffic is confined in the configured voice VLAN, and differentiated from other types of traffic.
For more information about voice VLANs, see "Configuring voice VLANs."
The following matrix shows the feature and router compatibility:
Feature 6602 HSR6602 6604/6608/6616
Configuring CDP
compatibility
No No
Yes on routers installed with the MPU
RPE-X1 or RSE-X1
Configuration prerequisites
Before you configure CDP compatibility, complete the following tasks:
• Globally enable LLDP.










