| Internet-Draft | IS-IS Database Fingerprinting | November 2026 |
| Westphal & Przygienda | Expires 28 May 2027 | [Page] |
In large IS-IS networks it is useful to quickly verify whether the link-state databases on all routers have synchronized properly and to derive a rough metric of flooding diffusion behavior. This document proposes a lightweight database fingerprinting mechanism for IS-IS along with YANG model extensions providing easy access to such information. For fast verification against a peer, an optional TLV carrying the database fingerprint is defined for inclusion in IIH and CSNP PDUs.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 28 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
In large IS-IS networks in stable state it is useful to observe whether all databases have synchronized properly and derive the delays involved in the propagation of information across the network.¶
This document defines a database fingerprinting mechanism that allows for quick validation of database synchronization across all nodes. A node implementing this specification computes a fingerprint over all fragments per level. Alongside the fingerprint itself, the node reports the time elapsed since the fingerprint value last changed, i.e. since the most recent recomputation that produced a value differing from the previous one. This facilitates measurement of flooding behavior across the network.¶
The fingerprint includes all LSP fragments held in the level's LSDB, including purged LSPs retained for ZeroAgeLifetime [ISO10589]. For an LSP whose Remaining Lifetime is zero, the checksum and length inputs to its fingerprint component MUST both be treated as zero; the LSP ID and sequence number remain included. A purge contributes to the fingerprint until it is removed from the LSDB. This normalization applies only to fingerprint computation and does not change the LSP's on-wire fields. Local placeholders that do not represent an LSP, such as entries created to request a missing LSP in response to an SNP, MUST NOT contribute to the fingerprint. An actual LSP is not excluded merely because its checksum or length is zero.¶
A reference checksum algorithm for a fragment is given in Appendix A. The overall fingerprint is the XOR of all fragment checksums.¶
The fingerprint MUST be updated when an LSP is added, removed, or changes in a way that changes its contribution. In particular, expiry or purging replaces the previous contribution with the normalized purge contribution; removal after ZeroAgeLifetime removes that contribution. A placeholder becoming an LSP, or an LSP becoming a placeholder, likewise requires the corresponding contribution to be added or removed. Changes to the LSP ID, sequence number, checksum, length, or purge state can affect the contribution, but ordinary remaining lifetime countdown does not.¶
Implementations that maintain the fingerprint incrementally, rather than walking the database, need some care here: by the time such an event is observed, the fields of the LSP have usually already changed, so the value that has to be XORed out is no longer derivable from the LSP. The straightforward implementation caches each LSP's last folded contribution alongside the LSP and, on any change, XORs out the cached value and XORs in the newly computed one, replacing the cache. On removal, only the cached contribution is XORed out. Recomputing the contribution from the changed LSP and XORing that out instead silently corrupts the fingerprint, and the error persists until the next full walk.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
To allow routers to rapidly detect link-state database synchronization differences directly with neighbors without waiting for or exchanging full CSNPs, this document defines an optional top-level IS-IS TLV: the Database Fingerprint TLV.¶
The Database Fingerprint TLV MAY be included in the following PDU types:¶
The format of the Database Fingerprint TLV is shown in Figure 1.¶
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type (TBA) | Length (10/14)| Level | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Database Fingerprint | | (64 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Last Update (optional, 32 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
last-update leaf. Its presence is indicated by the TLV Length being
set to 14.¶
When a router receives an IS-IS Hello PDU containing a Database Fingerprint TLV for a given level, it MAY compare the received fingerprint value against its locally computed fingerprint for that level. If the fingerprints match, the link-state databases for that level can be considered as synchronized for operational purposes but the match SHOULD NOT be used to shortcut any of the normal IS-IS synchronization procedures. If the fingerprints differ, normal IS-IS database synchronization procedures (e.g., CSNP and PSNP exchanges) MUST continue to apply as specified in [ISO10589].¶
This document uses the graphical representation of data models per [RFC8340].¶
The following shows the tree diagram of the module:¶
module: ietf-isis-db-fingerprint
augment /rt:routing/rt:control-plane-protocols
/rt:control-plane-protocol/isis:isis
/isis:database/isis:levels:
+--ro fingerprint
+--ro value? uint64
+--ro last-update? uint32
¶
The module augments the IS-IS YANG data model [RFC9130], which in turn builds on the routing management model [RFC8349]. The fingerprint state is added under the IS-IS LSDB, which is defined as operational state, and therefore all nodes defined by this augmentation are operational state as well.¶
The following is the YANG module:¶
<CODE BEGINS> file "ietf-isis-db-fingerprint@2026-10-13.yang"
module ietf-isis-db-fingerprint {
yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-isis-db-fingerprint";
prefix isis-db-fp;
import ietf-routing {
prefix rt;
reference
"RFC 8349: A YANG Data Model for Routing
Management (NMDA Version)";
}
import ietf-isis {
prefix isis;
reference
"RFC 9130: YANG Data Model for the IS-IS Protocol";
}
organization
"IETF LSR - LSR Working Group";
contact
"WG Web: <https://datatracker.ietf.org/wg/lsr>
WG List: <mailto:lsr@ietf.org>
Author: Renato Westphal
<renato@netdef.org>
Author: Tony Przygienda
<mailto:antoni.przygienda@hpe.com>
";
description
"The YANG module augments the base IS-IS YANG data model with
operational state related to IS-IS LSDB fingerprinting.
Copyright (c) 2026 IETF Trust and the persons identified as
authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject to
the license terms contained in, the Revised BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX
(https://www.rfc-editor.org/info/rfcXXXX); see the RFC itself
for full legal notices.
The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
'MAY', and 'OPTIONAL' in this document are to be interpreted as
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
they appear in all capitals, as shown here.";
reference
"RFC XXXX: IS-IS Database Fingerprinting";
revision 2026-10-13 {
description
"Initial Version";
reference
"RFC XXXX: IS-IS Database Fingerprinting";
}
/* LSDB fingerprint */
augment "/rt:routing/rt:control-plane-protocols/"
+ "rt:control-plane-protocol/isis:isis/isis:database/"
+ "isis:levels" {
when "derived-from-or-self(../../../rt:type, 'isis:isis')" {
description
"This augment ISIS routing protocol when used";
}
description
"Augments the IS-IS LSDB with the per-level database
fingerprint.";
container fingerprint {
description
"Information about the LSDB fingerprint for this level.";
leaf value {
type uint64;
description
"A 64-bit fingerprint derived from the set of LSPs at this
level.
The fingerprint is computed by XOR-combining a per-LSP
component value for each LSP in the level's LSDB,
including purges retained during ZeroAgeLifetime. Local
placeholders that do not represent an LSP MUST NOT
contribute. For an LSP whose Remaining Lifetime is zero,
the checksum and length inputs MUST be treated as zero
for this calculation; this does not change the on-wire
LSP. An actual LSP is not excluded merely because its
checksum or length is zero.
The per-LSP component value is derived from the LSP
identifier, sequence number, checksum, and length, as
specified in Appendix A of RFC XXXX.
The fingerprint is intended for detecting potential LSDB
synchronization differences. Different values indicate
different LSDB contents; identical values do not guarantee
equivalence due to possible collisions.";
}
leaf last-update {
type uint32;
units "seconds";
description
"Time elapsed since the fingerprint value for this level's
LSDB last changed.
The fingerprint is recomputed whenever the contents of the
level's LSDB change. This leaf is reset to zero only when
such a recomputation yields a value that differs from the
previously computed one. A recomputation that yields the
same value does not reset this leaf.";
}
}
}
}
<CODE ENDS>¶
The database fingerprint mechanism and the reported elapsed time
(last-update) are intended to observe general database synchronization
and propagation delays across the network in stable state. Measurement of
flooding diffusion or synchronization events at sub-second granularity
(under 1 second) is not intended by this specification.¶
A node holding an older copy of an otherwise unchanged LSP has a
synchronization difference. The LSP checksum of [ISO10589]
is computed from the LSP ID field onwards and therefore already covers
the Sequence Number, and the algorithm in Appendix A
additionally folds the sequence number in explicitly, so that the
contribution does not depend on checksum coverage alone. A periodic LSP
refresh consequently changes its contribution even when its content is
unchanged, although fingerprint collisions remain possible. The reported
last-update is the time since the fingerprint value last changed,
including changes caused by refreshes or purges, and in a large network it will
rarely grow large.¶
The database fingerprint mechanism assumes that nodes within the same flooding domain synchronize identical sets of Link State PDUs (LSPs). If LSP flooding is filtered or constrained for any reason (for example, due to policy-based flooding filters, mesh groups, or topology reduction mechanisms), the link-state databases on nodes separated by such filtering will not contain the same set of LSPs.¶
Consequently, the computed fingerprint values will not be the same on both sides of the filtering boundary. Operators and network management systems must take any intentional flooding asymmetry or filtering into account when comparing database fingerprints between nodes, as a mismatch under these conditions does not indicate a protocol failure or synchronization defect.¶
This document requests that IANA allocate a new codepoint from the "IS-IS Top-Level TLV Codepoints" registry:¶
Value: TBA Name: Database Fingerprint IIH: Y LSP: N SNP: Y Purge: N Reference: RFC XXXX¶
This document requests the registration of one URI in the "IETF XML Registry" [RFC3688]. Following the format in [RFC3688], the following registration is requested:¶
URI: urn:ietf:params:xml:ns:yang:ietf-isis-db-fingerprint Registrant Contact: The IESG. XML: N/A, the requested URI is an XML namespace.¶
This document requests the registration of one YANG module in the "YANG Module Names" registry [RFC6020]:¶
Name: ietf-isis-db-fingerprint Namespace: urn:ietf:params:xml:ns:yang:ietf-isis-db-fingerprint Prefix: isis-db-fp Reference: RFC XXXX¶
The fingerprint mechanism defined in this document is purely informational and does not influence protocol behavior. It does not introduce new attack vectors beyond those inherent in IS-IS itself. The fingerprint value is derived from information already present in the LSDB and does not leak additional data.¶
TBD¶
The following component algorithm is applied to actual LSDB LSPs, not
local placeholders. In this example, is_purge() indicates that
the LSP's Remaining Lifetime is zero, and raw.len() is its PDU
length. The checksum and length are normalized only as inputs to this
calculation for such an LSP.¶
<CODE BEGINS>
pub(crate) fn lsdb_fingerprint_component(&self) -> u64 {
let mut result: u64 = 0;
let system_id: &[u8] = self.lsp_id.system_id.as_ref();
// The LSP ID (system ID + pseudonode ID + fragment number)
// MUST be folded in full. Omitting the fragment number byte
// would make every fragment of a given system/pseudonode
// contribute the same value here, leaving the checksum and
// length fields below as the only differentiators between
// fragments; two fragments whose checksum and length happen
// to agree (or whose combined XOR happens to cancel across
// the LSDB) would then be indistinguishable to the
// fingerprint, silently defeating its purpose.
for i in system_id
.iter()
.chain(&[self.lsp_id.pseudonode, self.lsp_id.fragment])
{
result <<= 8;
result ^= *i as u64;
}
if !self.is_purge() {
// Fragment checksum and advertised PDU length.
result ^= (self.cksum as u64) << 48;
result ^= (self.raw.len() as u64) << 32;
}
// Fold the sequence number in explicitly, including for purges.
result ^= self.seqno as u64;
result
}
<CODE ENDS>