RIB Information Model
RFC 8430

Document Type RFC - Informational (September 2018; No errata)
Last updated 2018-09-26
Replaces draft-nitinb-i2rs-rib-info-model
Stream IETF
Formats plain text pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication (wg milestone: Aug 2016 - Request publication ... )
Document shepherd Susan Hares
Shepherd write-up Show (last changed 2018-02-09)
IESG IESG state RFC 8430 (Informational)
Consensus Boilerplate Yes
Telechat date
Responsible AD Martin Vigoureux
Send notices to Susan Hares <shares@ndzh.com>
IANA IANA review state IANA OK - No Actions Needed
IANA action state No IANA Actions
Internet Engineering Task Force (IETF)                   N. Bahadur, Ed.
Request for Comments: 8430                                          Uber
Category: Informational                                     S. Kini, Ed.
ISSN: 2070-1721
                                                               J. Medved
                                                                   Cisco
                                                          September 2018

                         RIB Information Model

Abstract

   Routing and routing functions in enterprise and carrier networks are
   typically performed by network devices (routers and switches) using a
   Routing Information Base (RIB).  Protocols and configurations push
   data into the RIB, and the RIB manager installs state into the
   hardware for packet forwarding.  This document specifies an
   information model for the RIB to enable defining a standardized data
   model.  The IETF's I2RS WG used this document to design the I2RS RIB
   data model.  This document is being published to record the higher-
   level information model decisions for RIBs so that other developers
   of RIBs may benefit from the design concepts.

Status of This Memo

   This document is not an Internet Standards Track specification; it is
   published for informational purposes.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Not all documents
   approved by the IESG are candidates for any level of Internet
   Standard; see Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   https://www.rfc-editor.org/info/rfc8430.

Bahadur, et al.               Informational                     [Page 1]
RFC 8430                  RIB Information Model           September 2018

Copyright Notice

   Copyright (c) 2018 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 Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Bahadur, et al.               Informational                     [Page 2]
RFC 8430                  RIB Information Model           September 2018

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
     1.1.  Conventions Used in This Document . . . . . . . . . . . .   6
   2.  RIB Data  . . . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.1.  RIB Definition  . . . . . . . . . . . . . . . . . . . . .   7
     2.2.  Routing Instance  . . . . . . . . . . . . . . . . . . . .   7
     2.3.  Route . . . . . . . . . . . . . . . . . . . . . . . . . .   8
     2.4.  Nexthop . . . . . . . . . . . . . . . . . . . . . . . . .  10
       2.4.1.  Base Nexthops . . . . . . . . . . . . . . . . . . . .  12
       2.4.2.  Derived Nexthops  . . . . . . . . . . . . . . . . . .  14
       2.4.3.  Nexthop Indirection . . . . . . . . . . . . . . . . .  15
   3.  Reading from the RIB  . . . . . . . . . . . . . . . . . . . .  16
   4.  Writing to the RIB  . . . . . . . . . . . . . . . . . . . . .  16
   5.  Notifications . . . . . . . . . . . . . . . . . . . . . . . .  17
   6.  RIB Grammar . . . . . . . . . . . . . . . . . . . . . . . . .  17
     6.1.  Nexthop Grammar Explained . . . . . . . . . . . . . . . .  20
   7.  Using the RIB Grammar . . . . . . . . . . . . . . . . . . . .  20
     7.1.  Using Route Preference  . . . . . . . . . . . . . . . . .  20
     7.2.  Using Different Nexthop Types . . . . . . . . . . . . . .  20
       7.2.1.  Tunnel Nexthops . . . . . . . . . . . . . . . . . . .  21
       7.2.2.  Replication Lists . . . . . . . . . . . . . . . . . .  21
       7.2.3.  Weighted Lists  . . . . . . . . . . . . . . . . . . .  21
       7.2.4.  Protection  . . . . . . . . . . . . . . . . . . . . .  22
       7.2.5.  Nexthop Chains  . . . . . . . . . . . . . . . . . . .  22
       7.2.6.  Lists of Lists  . . . . . . . . . . . . . . . . . . .  23
     7.3.  Performing Multicast  . . . . . . . . . . . . . . . . . .  24
   8.  RIB Operations at Scale . . . . . . . . . . . . . . . . . . .  25
     8.1.  RIB Reads . . . . . . . . . . . . . . . . . . . . . . . .  25
     8.2.  RIB Writes  . . . . . . . . . . . . . . . . . . . . . . .  25
     8.3.  RIB Events and Notifications  . . . . . . . . . . . . . .  25
Show full document text