Configuration procedure, Setting an encapsulation format for lldpdus – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 190

Advertising
background image

179

If the LLDPDU transmit delay is greater than the LLDPDU transmit interval, the device uses the

LLDPDU transmit delay as the transmit interval.

Configuration procedure

To change LLDP parameters:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Set the TTL multiplier.

lldp hold-multiplier value

Optional.
The default setting is 4.

3.

Set the LLDPDU transmit
interval.

lldp timer tx-interval interval

Optional.
The default setting is 30

seconds.

4.

Set the LLDPDU transmit delay. lldp timer tx-delay delay

Optional.
The default setting is 2 seconds.

5.

Set the number of LLDPDUs
sent each time fast LLDPDU

transmission is triggered.

lldp fast-count count

Optional.
The default setting is 3.

Setting an encapsulation format for LLDPDUs

LLDPDUs can be encapsulated in the following formats:

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, Ethernet II frames encapsulate LLDPDUs. If neighbor devices encapsulate LLDPDUs in SNAP

frames, configure the encapsulation format for LLDPDUs as SNAP to guarantee normal communication
with neighbors.
LLDP-CDP 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 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.

Advertising