Setting an encapsulation format for lldpdus, Configuring cdp compatibility, Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual
Page 175: Verifying the configuration
164
Step Command
Remarks
2.
Set the TTL multiplier.
lldp hold-multiplier value
The default setting is 4.
3.
Set the LLDPDU transmit
interval.
lldp timer tx-interval interval
The default setting is 30
seconds.
4.
Set the token bucket size for
sending LLDPDUs.
lldp max-credit credit-value
The default setting is 5.
5.
Set the LLDPDU transmit delay. lldp timer tx-delay delay
The default setting is 2 seconds.
6.
Set the number of LLDPDUs
sent each time fast LLDPDU
transmission is triggered.
lldp fast-count count
The default setting is 4.
7.
Set an interval for fast LLDPDU
transmission.
lldp timer fast-interval interval
The default setting is 1 second.
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.
•
With SNAP encapsulation configured, an LLDP port sends LLDPDUs in SNAP frames.
To set the encapsulation format for LLDPDUs to SNAP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 or Layer 3
Ethernet interface view or
Layer 2 aggregate interface
view.
interface interface-type interface-number
N/A
3.
Set the encapsulation
format for LLDPDUs to
SNAP.
•
In Layer 2 or Layer 3 Ethernet interface
view:
lldp [ agent { nearest-customer |
nearest-nontpmr } ] encapsulation snap
•
In Layer 2 aggregate interface view:
lldp agent { nearest-customer |
nearest-nontpmr } encapsulation snap
By default, Ethernet II
encapsulation format
applies.
NOTE:
LLDP of earlier versions requires the same encapsulation format on both ends to process LLDPDUs. For this
reason, to communicate stably with a neighboring device running LLDP of earlier versions, the local device
should be configured with the same encapsulation format.
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.