]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpd: document expectation for LLDP-MED device configuration
authorVincent Bernat <vincent@bernat.ch>
Wed, 12 Jun 2019 20:10:56 +0000 (22:10 +0200)
committerVincent Bernat <vincent@bernat.ch>
Wed, 12 Jun 2019 20:10:56 +0000 (22:10 +0200)
When using class II and class III endpoints, some additional TLVs are
mandatory. This is not enforced by lldpd.

See #335.

src/daemon/lldpd.8.in

index f887804949a3ccee522b20b7fce950e360daf322..9534ebb0f6be30e8fa41025a41157e79ba196738 100644 (file)
@@ -243,15 +243,21 @@ blacklisted (with
 .Em !* ) ,
 the system name is used as a chassis ID instead.
 .It Fl M Ar class
-Enable emission of LLDP-MED frame. The class should be one of the
-following value:
+Enable emission of LLDP-MED frame. Depending on the selected class,
+the standard defines which set of TLV should be transmitted. See
+section 10.2.1. Some devices may be strict about this aspect. The
+class should be one of the following value:
 .Bl -tag -width "0:XX" -compact
 .It Sy 1
 Generic Endpoint (Class I)
 .It Sy 2
-Media Endpoint (Class II)
+Media Endpoint (Class II). In this case, the standard requires to
+define at least one network policy through
+.Nm lldpcli .
 .It Sy 3
-Communication Device Endpoints (Class III)
+Communication Device Endpoints (Class III). In this case, the standard
+requires to define at least one network policy through
+.Nm lldpcli .
 .It Sy 4
 Network Connectivity Device
 .El