Setting an encapsulation format for lldp frames – H3C Technologies H3C S5560 Series Switches User Manual
Page 281
247
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the TTL multiplier.
lldp hold-multiplier value
The default setting is 4.
3.
Set the LLDP frame
transmission interval.
lldp timer tx-interval interval
The default setting is 30
seconds.
4.
Set the token bucket size for
sending LLDP frames.
lldp max-credit credit-value
The default setting is 5.
5.
Set the number of LLDP frames
sent each time fast LLDP frame
transmission is triggered.
lldp fast-count count
The default setting is 4.
6.
Set the interval for fast LLDP
frame transmission.
lldp timer fast-interval interval
The default setting is 1 second.
Setting an encapsulation format for LLDP frames
LLDP frames can be encapsulated in the following formats:
•
Ethernet II—With Ethernet II encapsulation configured, an LLDP port sends LLDP frames in Ethernet
II frames.
•
SNAP—With SNAP encapsulation configured, an LLDP port sends LLDP frames in SNAP frames.
LLDP of earlier versions requires the same encapsulation format on both ends to process LLDP frames. To
successfully communicate with a neighboring device running LLDP of earlier versions, the local device
must be configured with the same encapsulation format.
To set the encapsulation format for LLDP frames to SNAP:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2/Layer 3
Ethernet interface view,
management Ethernet
interface view, or Layer
2/Layer 3 aggregate
interface view.
interface interface-type interface-number
N/A
3.
Set the encapsulation
format for LLDP frames to
SNAP.
•
In Layer 2/Layer 3 Ethernet interface
view or management Ethernet interface
view:
lldp [ agent { nearest-customer |
nearest-nontpmr } ] encapsulation snap
•
In Layer 2/Layer 3 aggregate interface
view:
lldp agent { nearest-customer |
nearest-nontpmr } encapsulation snap
By default, Ethernet II
encapsulation format
applies.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module