rfc-9089

Signaling Entropy Label Capability and Entropy Readable Label Depth Using OSPF

X. Xu, S. Kini, P. Psenak, C. Filsfils, S. Litkowski, M. Bocci
date2021-08 streamIETF areartg wglsr statusPROPOSED STANDARD pages8 canonicalhttps://www.rfc-editor.org/rfc/rfc9089 doi10.17487/RFC9089
Multiprotocol Label Switching (MPLS) has defined a mechanism to load-balance traffic flows using Entropy Labels (EL). An ingress Label Switching Router (LSR) cannot insert ELs for packets going into a given Label Switched Path (LSP) unless an egress LSR has indicated via signaling that it has the capability to process ELs, referred to as the Entropy Label Capability (ELC), on that LSP. In addition, it would be useful for ingress LSRs to know each LSR's capability for reading the maximum label stack depth and performing EL-based load-balancing, referred to as Entropy Readable Label Depth (ERLD). This document defines a mechanism to signal these two capabilities using OSPFv2 and OSPFv3, and Border Gateway Protocol - Link State (BGP-LS).

Extracted elements (17)

design-rationale §3

Although ELC is a property of the node, it is advantageous to associate and advertise ELC with a prefix in multi-area and multi-domain networks, where routers may not know the identity or capabilities of prefix originators in remote areas or domains.

routing, mpls

interoperability-note §3.1

The exact mechanism used to exchange ELC between protocol instances on an ASBR (when redistributing prefixes between OSPF instances or from other protocols) is outside the scope of this document.

routing, mpls

normative-requirement §3 MUST NOT

A router MUST NOT announce ELC unless all of its interfaces are capable of processing ELs.

routing, mpls

normative-requirement §3.1 MUST

ELC signaling MUST be preserved when an OSPF ABR distributes information between areas; the ABR MUST originate an OSPFv2 Extended Prefix Opaque LSA including the received ELC setting.

routing, mpls

normative-requirement §3.2 MUST

For OSPFv3, the ELC Flag in the AS-External-LSA, NSSA-LSA, or External-Prefix TLV generated by an ASBR MUST be the same as the value of the ELC Flag associated with the prefix in the source domain.

routing, mpls

normative-requirement §3.2 MUST

For OSPFv3, the ELC Flag in the Inter-Area-Prefix-LSA or Inter-Area-Prefix TLV generated by an ABR MUST be the same as the value of the ELC Flag associated with the prefix in the source area.

routing, mpls

normative-requirement §4 MUST

If a router has multiple interfaces with different capabilities of reading the maximum label stack depth, the router MUST advertise the smallest value found across all of its interfaces for ERLD.

routing, mpls

normative-requirement §3 SHOULD

If the router supports ELs on all of its interfaces, it SHOULD advertise the ELC with every local host prefix it advertises in OSPF.

routing, mpls

normative-requirement §3.1 SHOULD

When an OSPF ASBR redistributes a prefix from another instance of OSPF or another protocol, it SHOULD preserve the ELC signaling and originate an Extended Prefix Opaque LSA including the ELC setting. The flooding scope of the Extended Prefix Opaque LSA MUST match the flooding scope of the LSA the ASBR originates as a result of redistribution.

routing, mpls

normative-requirement §4 MUST

When the ERLD-MSD type is received in the OSPFv2 or OSPFv3 Link MSD sub-TLV, it MUST be ignored.

routing, mpls

protocol-element §5

ELC and ERLD can be signaled in BGP-LS: ELC is advertised using the Prefix Attribute Flags TLV (RFC 9085), and ERLD-MSD is advertised using the Node MSD TLV (RFC 8814).

routing, bgp, mpls

protocol-element §4

ERLD is advertised in a Node Maximum SID Depth (MSD) TLV using the ERLD-MSD type defined in RFC 9088. Absence of ERLD-MSD advertisements indicates only that the node does not support advertisement of this capability.

routing, mpls

protocol-element §3.2

The E-Flag (ELC Flag), bit 0x40, is defined in the OSPFv3 PrefixOptions field. When set by the advertising router, it indicates the prefix originator is capable of processing Entropy Labels.

routing, mpls

protocol-element §3.1

The E-Flag (ELC Flag), value 0x20, is defined in the OSPFv2 Extended Prefix TLV Flags field. When set by the advertising router, it indicates the prefix originator is capable of processing Entropy Labels.

routing, mpls

registry §6

IANA allocated bit 0x40 in the 'OSPFv3 Prefix Options (8 bits)' registry for the E-Flag (ELC Flag) as defined in this document.

registry, routing

registry §6

IANA allocated flag 0x20 in the 'OSPFv2 Extended Prefix TLV Flags' registry for the E-Flag (ELC Flag) as defined in this document.

registry, routing

security-consideration §7

Incorrectly setting the E-Flag during origination, propagation, or redistribution may lead to poor or no load-balancing of MPLS traffic, or to MPLS traffic being discarded on the egress node. Incorrectly setting the ERLD value may similarly lead to poor or no load-balancing.

security, routing, mpls