Internet-Draft | OSPF Abnormal State | February 2022 |
Chen | Expires 26 August 2022 | [Page] |
This document describes a couple of options for an OSPF router to advertise its abnormal state information in a routing domain.¶
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 26 August 2022.¶
Copyright (c) 2022 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.¶
There may be some states that are not normal in an OSPF router, which include the state that a link state advertisement (LSA) stays in a retransmission list on the router for more than a given time period such as more than hello dead interval, and may include the state that a database description (DD) packet does not get acknowledged for a given period of time.¶
If a link state advertisement (LSA) with a topology change in a router can not get through over an OSPF interface for a given time period, some of the routers in the routing domain may have different view of the real network topology, thus routing loops may occur and some traffic may get dropped.¶
It is useful for an OSPF router in a routing domain to advertise its abnormal state information to other routers, or notify some systems such as an event management or monitoring system for its abnormal state.¶
This document describes a couple of options for an OSPF router to advertise its abnormal state information in a routing domain.¶
This document uses terminologies defined in RFC 4970, RFC 2328, and RFC 2740.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.¶
OSPF routers MAY advertise their state information in a area-scoped or AS-scoped router state information LSA with a router state informatioin TLV.¶
OSPFv2 routers will advertise an area-scoped or AS-scoped Router State Information Opaque-LSA [RFC 2370], which has an Opaque type of 5 and Opaque ID of 0.¶
The RSI LSA will be originated initially by an OSPF router when an OSPF instance is created and re-originated in every refresh interval (LSRefreshTime) with the current state information of the router. When the current state information changes, the RSI LSA will also be originated.¶
The format of the TLVs within the body of a RSI LSA is the same as the format used by the Traffic Engineering Extensions to OSPF [RFC 3630]. The LSA payload consists of one or more nested Type/Length/Value (TLV) triplets. The format of each TLV is:¶
The Length field defines the length of the value portion in octets (thus a TLV with no value portion would have a length of 0). The TLV is padded to 4-octet alignment; padding is not included in the length field (so a 3-octet value would have a length of 3, but the total size of the TLV would be 8 octets). Nested TLVs are also 32-bit aligned. For example, a 1-byte value would have the length field set to 1, and 3 octets of padding would be added to the end of the value portion of the TLV. Unrecognized types are ignored.¶
TBD.¶
A router advertising a RSI LSA MAY include the Router State Information TLV. If included, it MUST be the first TLV in the LSA. Additionally, the TLV MUST accurately reflect the OSPF router's state information in the scope advertised.¶
The format of the Router State Information TLV is as follows:¶
The format of the Router State Information LSA retranmission time sub-TLV is as follows:¶
The format of the sub-TLV for the maximum time that a Database Description packet is not acknowledged is illustrated below.¶
Instead of using a Router State Information LSA to advertise the abnormal state information for a router, we may use the existing Router Information LSA defined in RFC 4970 to advertise the state information through adding the Router State Information (RSI) TLV into the Router Inforamtion LSA.¶
When a Router State Information (RSI) TLV is put into a Router Information LSA, the type of the TLV may be different from the one mentioned in the section above.¶
An OSPF router may also notify other systems such as an event management system about its abnormal state when the abnormal state occurs in the router.¶
The mechanism described in this document does not raise any new security issues for the OSPF protocols.¶
The author would like to thank people for their valuable comments on this draft.¶