Re: [ieee-ietf-coord] [Anima] Use of LLDP in draft-richardson-anima-ipv6-lldp

Michael Richardson <> Mon, 27 April 2020 19:57 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 28F3D3A1B88; Mon, 27 Apr 2020 12:57:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ApINEAFtqqyV; Mon, 27 Apr 2020 12:57:47 -0700 (PDT)
Received: from ( [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 2957E3A1B82; Mon, 27 Apr 2020 12:57:47 -0700 (PDT)
Received: from ( [IPv6:2607:f0b0:f:2::247]) by (Postfix) with ESMTP id D6FE638981; Mon, 27 Apr 2020 15:55:52 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by (Postfix) with ESMTP id ABED510E; Mon, 27 Apr 2020 15:57:44 -0400 (EDT)
From: Michael Richardson <>
to: "anima\" <>,
CC: "Rob Wilton \(rwilton\)" <>,, Pascal Thubert <>
In-Reply-To: <19580.1588014159@localhost>
References: <> <19580.1588014159@localhost>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 25.1.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature"
Date: Mon, 27 Apr 2020 15:57:44 -0400
Message-ID: <1151.1588017464@localhost>
Archived-At: <>
Subject: Re: [ieee-ietf-coord] [Anima] Use of LLDP in draft-richardson-anima-ipv6-lldp
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Management-level discussions between IEEE and IETF on topics of interest to both SDOs <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 27 Apr 2020 19:57:51 -0000

Michael Richardson <> wrote:
    > His opinion is that this would be a serious misuse of the LLDP protocol
    > and cause problems for implementations.  The general expectation and
    > design of LLDP is that the information contained in the PDUs is fairly
    > static in nature and does not change frequently.  Assuming the IPv6

I understand how this proposal is a bit distasteful, and I hope that we can
come up with some alternative ideas (see next email).

I don't know how LLDP efforts are split between forwarding plane and control
plane on all systems. In designs I have been involved with, all LLDP packets
go to the control plane CPU, and they are decapsulated there.

In such a system, the IPv6 TLV(s) would be removed before the database is
updated or compared, so a system that supports this proposal would never emit
spurious SNMP alerts.   If you take a look at the target use cases for the
ACP at:
and all of
we are trying to create a stable replacement for out-of-band control.
Without this new channel there isn't a place for SNMP (or RESTCONF) traps to
travel over.

    >> packets are intending to implement their own protocol and will be
    >> changing frequently, encapsulating an IPv6 packet inside an LLDP TLV
    >> would signal a change on each transmission and possibly cause an SNMP
    >> TRAP on each packet received by a traditional implementation.

I understand your concern is for systems that do *not* implement this
extension, and that they might generate a stream of SNMP Traps due to
changes.  This is a valid concern, but it is not how the ACP would work.

The first part of the ACP process, described at:

is to send out "multicast" GRASP DULL messages.  I put multicast in quotes,
because really, we want to send one out on each physical link in the
identical way that LLDP sends out announcements.

We could, as Rob has suggested:

    rob> [As an individual] Would it be possible to carry some static
    rob> information in LLDP that could be used to setup the autonomic control
    rob> plane outside of LLDP?

do exactly this.  The DULL message that I described above would go out with
RFC8138/RFC6282 header compression and a CBOR encoded GRASP AN_FLOOD message
be unchanging.
It's 82 bytes including the TLV overhead, with the CBOR message itself being
67 bytes, including two IPv6 addresses (32-bytes).
(I didn't count the mandatory ChassisID/Port ID or Time to Live TLVs)

(Unfortunately, identical, and also unfortunately, redundant with the source
IPv6 address, which LOWPAN_IPHC had already successfully compressed out. But,
this is ethernet not 802.15.4 so not a huge problem)

I put my spreadsheet calculation and HTML output at:
[neither an attachment nor HTML will survive the IETF mailarchive, so I am
  not putting them inline]

So a system that does not implement this mechanism will see a single
additional TLV, which will not change over time.
Systems that do support this will be able to respond using the same channel,
and will know the sender supports this.

We could, as you suggest, just use LLDP to signal this, and that's the
subject of my next email.
If we did that, then we'd need only one TLV, and we'd drop the compressed
IPv6/UDP header, saving 9 bytes.

]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]        |   ruby on rails    [

Michael Richardson <>ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-