185
Step Command
Remarks
2.
Enter Ethernet interface
view or port group view.
•
Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual port-group-name
N/A
3.
Set the encapsulation
format for LLDP frames
to SNAP.
lldp encapsulation
snap
Ethernet II encapsulation
format applies by default.
NOTE:
LLDP-CDP (Cisco Discovery Protocol) packets use only SNAP encapsulation.
Configuring CDP compatibility (available only on
the HPE 3100 v2 EI)
When the switch is directly connected to a Cisco device that supports only CDP rather than LLDP,
you can enable CDP compatibility to enable the switch to exchange information with the
directly-connected device.
With CDP compatibility enabled on the switch, the switch can use LLDP to receive and recognize the
CDP packets received from the directly-connected device and send CDP packets to the
directly-connected device. The packets that the switch sends to the neighboring CDP device carry
the fields in
Table 27 Fields in CDP packets
Field Description
Device ID
Device ID, which is the bridge MAC address of the device.
Addresses
IPv4 address of the interface.
The port IPv4 address is the primary IP address of the VLAN interface
meeting the following requirements:
•
In up state.
•
The corresponding VLAN ID is the lowest among the VLANs permitted
on the port.
If none of the VLAN interfaces of the permitted VLANs is assigned an IP
address or all VLAN interfaces are down, no port IP address will be
advertised.
Port ID
Port ID.
Capabilities
Device capability, which is Switch.
Software Version
Software version of the device.
Platform
Device model.
Duplex
Duplex mode of the port.
MTU
Maximum transmit unit.
System Name
System name.
Native VLAN
PVID of a port.
Voice VLAN
VLAN specified by using the
lldp voice-vlan
command or the voice VLAN
configured on the port.