![H3C S3600V2 SERIES Скачать руководство пользователя страница 250](http://html2.mh-extra.com/html/h3c/s3600v2-series/s3600v2-series_layer-2-lan-switching-configuration-manual_3654240250.webp)
235
Step Command
Remarks
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
Ethernet II encapsulation
format applies by default.
NOTE:
LLDP-CDP (Cisco Discovery Protocol) packets use only SNAP encapsulation.
Configuring CDP compatibility
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 main IP address of the VLAN interface that is in up
state and whose 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.
The CDP neighbor-information-related fields in the output of the
display lldp neighbor-information
command show the CDP neighboring device information that can be recognized by the switch. For more