rfc-9194

A YANG Module for IS-IS Reverse Metric

C. Hopps
date2022-10 streamIETF areartg wglsr statusPROPOSED STANDARD pages13 canonicalhttps://www.rfc-editor.org/rfc/rfc9194 doi10.17487/RFC9194
This document defines a YANG module for managing the reverse metric extension to the Intermediate System to Intermediate System (IS-IS) intra-domain routing information exchange protocol.

Extracted elements (16)

design-rationale §2.2

Level-specific reverse metric configuration (level-1, level-2 containers) is only available for broadcast interface types because the reverse metric is advertised in IS-IS Hello PDUs (IIH PDUs), which carry level information only on broadcast links.

yang, routing

design-rationale §2

The YANG module uses the same per-level hierarchical configuration structure as defined in the augmented base IS-IS module (RFC 9130), maintaining consistency with existing IS-IS YANG conventions.

yang, routing

interoperability-note §2.2

The ietf-isis-reverse-metric module imports from ietf-routing (RFC 8349) and ietf-isis (RFC 9130), and the augment when-conditions ensure the augmentations apply only when the routing protocol instance type is 'isis:isis'.

yang, routing

normative-requirement §2.2 MUST

By default, reverse metric handling is disabled and must be explicitly enabled via the enable-receive configuration leaf; without this, a router ignores reverse metric announcements from neighbors.

yang, routing

normative-requirement §2.2 MUST NOT

Reverse metric operation on an interface is enabled by configuring a metric value either at the top level or under a level-specific container. If a metric value is only specified under a level-specific container, operation is only enabled at that level.

yang, routing

protocol-element §2.2

The allow-unreachable leaf (U bit from RFC 8500) allows the neighbor to increment the overall metric up to 2^24-1 rather than the lesser maximum of 2^24-2; a metric of 2^24-1 causes traffic to stop using the interface entirely.

yang, routing

protocol-element §2.2

The exclude-te-metric leaf (default false) controls whether the Traffic Engineering Metric sub-TLV is suppressed in the Reverse Metric TLV when a TE metric is defined for the interface.

yang, routing

protocol-element §2.2

The ietf-isis-reverse-metric YANG module augments the IS-IS instance with a global reverse-metric container containing an enable-receive leaf (boolean, default false) that controls whether reverse metric announcements from neighbors are processed.

yang, routing

protocol-element §2.2

The module augments each IS-IS interface with a reverse-metric container for announcing reverse metrics to neighbors, including metric (wide-metric type), flags (whole-lan and allow-unreachable booleans), and exclude-te-metric leaf. Level-specific sub-containers (level-1, level-2) are available only for broadcast interface types.

yang, routing

protocol-element §2.2

The module augments IS-IS adjacency state with a read-only reverse-metric container exposing the received Reverse Metric TLV data: metric (wide-metric), flags (whole-lan, allow-unreachable), and te-metric (uint32 from the sub-TLV if present).

yang, routing

protocol-element §2.2

The whole-lan leaf (W bit from RFC 8500) controls whether a DIS processing the reverse metric adds the metric value to all nodes it advertises in the pseudonode LSP, or only to the advertising node.

yang, routing

registry §3.1

This document registers the URI urn:ietf:params:xml:ns:yang:ietf-isis-reverse-metric in the IETF XML Registry (RFC 3688) as an XML namespace with the IESG as registrant contact.

registry, yang

registry §3.2

This document registers the YANG module 'ietf-isis-reverse-metric' in the YANG Module Names registry (RFC 6020) with prefix isis-rmetric, namespace urn:ietf:params:xml:ns:yang:ietf-isis-reverse-metric, not maintained by IANA.

registry, yang

security-consideration §4

Read-only adjacency state nodes (metric, whole-lan, allow-unreachable, te-metric under the adjacency reverse-metric container) may be sensitive, requiring controlled read access via NETCONF get/get-config or notifications.

security, yang, routing

security-consideration §4

The YANG module is accessed via NETCONF or RESTCONF; NETCONF requires SSH as the mandatory secure transport, and RESTCONF requires TLS 1.3. NACM (RFC 8341) provides access control for restricting operations and content to authorized users.

security, yang, netconf

security-consideration §4

Writable data nodes (enable-receive, metric, whole-lan, allow-unreachable, exclude-te-metric at interface and per-level scopes) are sensitive because unauthorized write operations can alter routing metrics and negatively affect network operations; security implications are described in RFC 8500.

security, yang, routing