Network Working Group L. Blunk Internet-Draft M. Karir Intended status: Standards Track Merit Network Expires:August 28, 2008January 15, 2009 C. Labovitz Arbor NetworksFebruary 25,July 14, 2008 MRT routing information export formatdraft-ietf-grow-mrt-07.txtdraft-ietf-grow-mrt-08.txt Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. 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." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire onAugust 28, 2008.January 15, 2009. Copyright Notice Copyright (C) The IETF Trust (2008). Abstract This document describes the MRT format for routing information export. This format was developed in concert with the Multi-threaded Routing Toolkit (MRT) from whence the format takes it name. The format can be used to export routing protocol messages, state changes, and routing information base contents. Table of Contents 1. Requirements notation . . . . . . . . . . . . . . . . . . . . 4 2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 5 3. Basic MRT Format . . . . . . . . . . . . . . . . . . . . . . . 6 4. MRT Informational Types . . . . . . . . . . . . . . . . . . . 8 4.1.NULLSTART Type . . . . . . . . . . . . . . . . . . . . . . . . 8 4.2.STARTI_AM_DEAD Type . . . . . . . . . . . . . . . . . . . . . .. .84.3. DIE Type . . . . . . .5. MRT Routing Information Types . . . . . . . . . . . . . . . . 9 5.1. OSPF Type . .8 4.4. I_AM_DEAD Type. . . . . . . . . . . . . . . . . . . . . .8 4.5. PEER_DOWN9 5.2. TABLE_DUMP Type . . . . . . . . . . . . . . . . . . . . ..95. MRT Routing Information Types .5.3. TABLE_DUMP_V2 Type . . . . . . . . . . . . . . .10 5.1. BGP Type. . . . . 11 5.4. BGP4MP Type . . . . . . . . . . . . . . . . . . . .10 5.1.1. BGP_NULL Subtype. . . 13 5.4.1. BGP4MP_STATE_CHANGE Subtype . . . . . . . . . . . . . 14 5.4.2. BGP4MP_MESSAGE Subtype . . .10 5.1.2. BGP_UPDATE Subtype. . . . . . . . . . . . . 15 5.4.3. BGP4MP_STATE_CHANGE_AS4 Subtype . . . . .11 5.1.3. BGP_PREF_UPDATE Subtype. . . . . . 15 5.4.4. BGP4MP_MESSAGE_AS4 Subtype . . . . . . . . .11 5.1.4. BGP_STATE_CHANGE Subtype. . . . . 16 5.5. BGP4MP_ET Type . . . . . . . . . .11 5.1.5. BGP_SYNC Subtype. . . . . . . . . . . . 17 5.6. ISIS Type . . . . . . .12 5.1.6. BGP_OPEN Subtype. . . . . . . . . . . . . . . . . 17 5.7. ISIS_ET Type . .12 5.1.7. BGP_NOTIFY Subtype. . . . . . . . . . . . . . . . . .12 5.1.8. BGP_KEEPALIVE Subtype. . . 17 5.8. OSPFv3 Type . . . . . . . . . . . . .12 5.2. RIP Type. . . . . . . . . . 17 5.9. OSPFv3_ET Type . . . . . . . . . . . . . . .13 5.3. IDRP Type. . . . . . . 18 6. IANA Considerations . . . . . . . . . . . . . . . . .13 5.4. RIPNG Type. . . . 19 6.1. Type Codes . . . . . . . . . . . . . . . . . . . .13 5.5. BGP4PLUS and BGP4PLUS_01 Types. . . . 19 6.2. Subtype Codes . . . . . . . . . .13 5.6. OSPF Type. . . . . . . . . . . . 19 7. Security Considerations . . . . . . . . . . . .14 5.7. TABLE_DUMP Type. . . . . . . 20 8. References . . . . . . . . . . . . . .14 5.8. TABLE_DUMP_V2 Type. . . . . . . . . . . . 21 8.1. Normative References . . . . . . . .16 5.9. BGP4MP Type. . . . . . . . . . . 21 8.2. Informative References . . . . . . . . . . . .18 5.9.1. BGP4MP_STATE_CHANGE Subtype. . . . . . 21 Appendix A. Deprecated MRT types . . . . . . .19 5.9.2. BGP4MP_MESSAGE Subtype. . . . . . . . . 22 A.1. Deprecated MRT Informational Types . . . . . . .20 5.9.3. BGP4MP_ENTRY Subtype. . . . . 22 A.1.1. NULL Type . . . . . . . . . . . .20 5.9.4. BGP4MP_SNAPSHOT Subtype. . . . . . . . . . 22 A.1.2. DIE Type . . . . .21 5.9.5. BGP4MP_STATE_CHANGE_AS4 Subtype. . . . . . . . . . .22 5.9.6. BGP4MP_MESSAGE_AS4 Subtype. . . . . . . 22 A.1.3. PEER_DOWN Type . . . . . . .22 5.10. BGP4MP_ET Type. . . . . . . . . . . . . 22 A.2. Deprecated MRT Routing Information Types . . . . . . . . .23 5.11. ISIS22 A.2.1. BGP Type . . . . . . . . . . . . . . . . . . . . . . .. 23 5.12. ISIS_ET22 A.2.2. RIP Type . . . . . . . . . . . . . . . . . . . . . . .23 5.13. OSPFv325 A.2.3. IDRP Type . . . . . . . . . . . . . . . . . . . . . .. 23 5.14. OSPFv3_ET25 A.2.4. RIPNG Type . . . . . . . . . . . . . . . . . . . . . .24 6. IANA Considerations . . .25 A.2.5. BGP4PLUS and BGP4PLUS_01 Types . . . . . . . . . . . . 26 A.2.6. Deprecated BGP4MP Subtypes . . . . . .25 6.1. Type Codes. . . . . . . . 26 Authors' Addresses . . . . . . . . . . . . . . . .25 6.2. Subtype Codes. . . . . . . .. . . . . . . . . . . . . . 25 7. Security Considerations . . . . . . . . . . . . . . . . . . . 26 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 27 8.1. Normative References . . . . . . . . . . . . . . . . . . . 27 8.2. Informative References . . . . . . . . . . . . . . . . . . 27 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 28 Intellectual Property and Copyright Statements28 Intellectual Property and Copyright Statements . . . . . . . . . . 29 1. Requirements notation 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 [RFC2119]. 2. Introduction Researchers and engineers often wish to analyze network behavior by studying routing protocol transactions and routing information base snapshots. To this end, the MRT format was developed to encapsulate, export, and archive this information in a standardized data representation. The BGP routing protocol, in particular, has been the subject of extensive study and analysis which has been significantly aided by the availability of the MRT format. The MRT format was initially defined in the MRT Programmer's Guide [MRT PROG GUIDE]. This memo serves to document the MRT format as currently implemented in publicly available software. The format has been extended since it's original introduction in the MRT toolset and these extensions are also included in this memo. Further extensions may be introduced at a later date through additional definitions of the MRT Type field and Subtype fields. Fields which contain multi-byte numeric values are encoded in network byte order from most significant byte to least significant byte. Fields which contain routing message fields are encoded in the same order as they appear in the packet contents. 3. Basic MRT Format All MRT format messages have a common header which includes a timestamp, Type, Subtype, and length field. The header is followed by a message field. The MRT common header is illustrated below. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Subtype | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Message... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Header Field Descriptions: Timestamp: Time in seconds since 1 January 1970 00:00:00 UTC Type: A 2-octet field that indicates the Type of information contained in the message field. Types 0 through 4 are informational messages pertaining to the state of an MRT collector, while Types 5 and higher are used to convey routing information. Subtype: A 2-octet field that is used to further distinguish message information within a particular message Type. Length: A 4-octet message length field. The length field contains the number of bytes within the message. The length field does not include the length of the MRT common header. Message: A variable length message. The contents of this field are context dependent upon the Type and Subtype fields. 4. MRT Informational Types The MRT format defines five Informational Type messages. These messages are intended to signal the state of an MRT data collector and do not contain routing information. These messages are OPTIONAL and were largely intended for use when MRT messages are sent over a network to a remote repository store. However, MRT message repository stores have traditionally resided on the same device as the collector and these Informational Types have seen limited implementation. Further, transport mechanisms for MRT messages are considered to be outside the scope of this document.Two of these messages are considered potentially useful in implementations with a local repository. In particular, theThe START and I_AM_DEAD messages MAY be used to provide a time reference when a data collector begins and ends the collection process. The message field MAY contain an OPTIONAL message string for diagnostic purposes. The message string encoding MUST follow the UTF-8 transformation format. The Subtype field is unused for these Types and SHOULD be set to 0. The MRT Informational Types are defined below:0 NULL *DEPRECATED*1 START2 DIE *DEPRECATED*3 I_AM_DEAD4 PEER_DOWN *DEPRECATED*4.1.NULL Type The NULL Type message causes no operation and is deprecated. 4.2.START Type The START Type indicates a collector is about to begin generating MRT messages.4.3. DIE Type The DIE Type signals a remote MRT repository it should stop accepting messages. This Type is deprecated. 4.4.4.2. I_AM_DEAD Type An I_AM_DEAD MRT message indicates that a collector has shut down and has stopped generating MRT messages.4.5. PEER_DOWN Type The PEER_DOWN message was intended to indicate that a collector had lost association with a BGP peer. However, the MRT format provides BGP state change message types which duplicate this functionality. This Type is deprecated.5. MRT Routing Information Types The following Types are currently defined for the MRT format. Types5-1211 and 12 were defined in the MRT Toolkit package. The BGP4MP Type, number 16, was initially defined in the Zebra routing software package. The BGP4MP_ET, ISIS, and ISIS_ET Types were initially defined in the Sprint Labs Python Routing Toolkit (PyRT).5 BGP *DEPRECATED* 6 RIP 7 IDRP *DEPRECATED* 8 RIPNG 9 BGP4PLUS *DEPRECATED* 10 BGP4PLUS_01 *DEPRECATED* 11 OSPF 12 TABLE_DUMP 13 TABLE_DUMP_V2 16 BGP4MP 17 BGP4MP_ETThe OSPFv3 and OSPFv3_ET Types are newly defined types created for the OSPFv3 routing protocol. 11 OSPF 12 TABLE_DUMP 13 TABLE_DUMP_V2 16 BGP4MP 17 BGP4MP_ET 32 ISIS 33 ISIS_ET 48 OSPFv3 49 OSPFv3_ET 5.1.BGPOSPF TypeThe BGPThis Typeindicatessupports theMessage field contains BGP routing information. The BGP routing protocol isOSPF Protocol as defined in RFC4271 [RFC4271].2328 [RFC2328]. Theinformation in the message is dependent on theSubtypevalue. The BGP Type and all associated Subtypes are considered to be DEPRECATED by the BGP4MP Type. The following BGP Subtypes are defined for the MRT BGP Type.field may contain two possible values: 0BGP_NULLOSPF_STATE_CHANGE 1BGP_UPDATE 2 BGP_PREF_UPDATE 3 BGP_STATE_CHANGE 4 BGP_SYNC 5 BGP_OPEN 6 BGP_NOTIFY 7 BGP_KEEPALIVE 5.1.1. BGP_NULL Subtype The BGP_NULL Subtype is a reserved Subtype. 5.1.2. BGP_UPDATE Subtype The BGP_UPDATE Subtype is used to encode BGP UPDATE messages.OSPF_LSA_UPDATE The format of the MRT Message field forthis Subtypethe OSPF Type is as follows: 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+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |PeerRemote IP address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LocalAS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LocalIP address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |BGP UPDATEOSPF Message Contents (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.2. TABLE_DUMP Type TheBGP UPDATE Contents include the entire BGP UPDATE message which follows the BGP Message Header. The BGP Message Header itselfTABLE_DUMP Type isnot included. The Peer AS number and IP address fields containused to encode theAS number and IP addresscontents ofthe remote system which are generating thea BGPUPDATE messages. The Local AS number and IP address fields contain the AS number and IP address of the local collector system which is archiving the messages. 5.1.3. BGP_PREF_UPDATE Subtype The BGP_PREF_UPDATE SubtypeRouting Information Base (RIB). Each RIB entry isnot defined. 5.1.4. BGP_STATE_CHANGE Subtypeencoded in a distinct sequential MRT record. TheBGP_STATE_CHANGESubtype field is used torecord changes in the BGP finite state machine. These FSM states are defined in RFC 4271 [RFC4271], Section 8.2.2. Both the old state value andencode whether thenew state valueRIB entry contains IPv4 or IPv6 addresses. There areencoded as 2-octet numbers. The statetwo possible valuesare defined numericallyfor the Subtype asfollows:shown below. 1IdleAFI_IPv4 2Connect 3 Active 4 OpenSent 5 OpenConfirm 6 EstablishedAFI_IPv6 The format of theMRT Message fieldTABLE_DUMP Type isas follows:illustrated below. 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+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer ASView # | Sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Prefix (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Prefix Length | Status | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Originated Time | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Old StatePeer AS |New StateAttribute Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+5.1.5. BGP_SYNC Subtype| BGP Attribute... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TheBGP_SYNC Subtype wasView field is normally 0 and is intendedto convey a system file namefor cases whereBGP Table Dump messages should be recorded.an implementation may have multiple RIB views (such as a route server). TheView # was to correspondSequence field is a simple incremental counter for each RIB entry. A typical RIB dump will exceed the 16-bit bounds of this counter and implementation should simply wrap back to zero and continue incrementing theView # providedcounter in such cases. The Prefix field contains theTABLE_DUMP Type messages. There are no known implementationsIP address ofthis subtype and it SHOULD be ignored.a particular RIB entry. Thefollowing format applies tosize of thisSubtype: 0 1 2 3 0 1 2 3field is dependent on the value of the Subtype for this message. For AFI_IPv4, this field is 45 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | View # | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | File Name... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The File Name is terminated with a NULL (0) character. 5.1.6. BGP_OPEN Subtype The BGP_OPEN Subtypeoctets, for AFI_IPv6, it isused to encode BGP OPEN messages.16 octets in length. TheformatPrefix Length field indicates the length in bits of theMRT Message fieldprefix mask forthis Subtype isthesame as the BGP_UPDATE, however,preceding Prefix field. The Status octet is not used in thelast fieldTABLE_DUMP Type and SHOULD be set to 1. The Originated Time contains thecontents of4-octet time at which this prefix was heard. The value represents theBGP OPEN message. 5.1.7. BGP_NOTIFY Subtypetime in seconds since 1 January 1970 00:00:00 UTC. TheBGP_NOTIFY SubtypePeer IP field isused to encode BGP NOTIFICATION messages. The formatthe IP address of theMRT Message fieldpeer which provided the update for thisSubtype isRIB entry. As with thesame asPrefix field, theBGP_UPDATE, however,size of this field is dependent on thelastSubtype. AFI_IPv4 indicates a 4 octet field and an IPv4 address, while a Subtype of AFI_IPv6 requires a 16 octet field and an IPv6 address. The Peer AS field contains thecontentsAS number of theBGP NOTIFICATION message. 5.1.8. BGP_KEEPALIVE Subtype The BGP_KEEPALIVE Subtypepeer. Attribute length isused to encode BGP KEEPALIVE messages. The format oftheMRT Messagelength of Attribute fieldfor this Subtypeand isthe same as the BGP_UPDATE, however, the last2-octets. The Attribute field containsno information. 5.2. RIP Type The RIPthe attribute information for the RIB entry. 5.3. TABLE_DUMP_V2 TypeisThe TABLE_DUMP_V2 Type updates the TABLE_DUMP Type to include 32BIT ASN support and full support for BGP Multiprotocol extensions. It also improves upon the space efficiency of the TABLE_DUMP Type by employing an index table for peers and permitting a single MRT record per NLRI entry. The following subtypes are used with the TABLE_DUMP_V2 Type. 1 PEER_INDEX_TABLE 2 RIB_IPV4_UNICAST 3 RIB_IPV4_MULTICAST 4 RIB_IPV6_UNICAST 5 RIB_IPV6_MULTICAST 6 RIB_GENERIC An initial PEER_INDEX_TABLE MRT record provides the BGP ID of the collector, an optional view name, and a list of indexed peers. Following the PEER_INDEX_TABLE MRT record, a series of MRT records are used toexport RIP protocol packets as defined in RFC 1058 [RFC1058].encode RIB table entries. This series of MRT records use subtypes 2-6 and are separate from the PEER_INDEX_TABLE MRT record itself and include full MRT record headers. The header of the PEER_INDEX_TABLE Subtypefieldiscurrently reserved for this Type and SHOULDshown below. The View Name is optional and, if not present, the View Name Length MUST be set to 0. Theformat of the MRT Message field forView Name encoding MUST follow theRIP Type is as follows:UTF-8 transformation format. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer IP addressCollector BGP ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Local IP addressView Name Length | View Name (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RIP Message Contents (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.3. IDRP TypePeer Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TheIDRP Type is used to export Inter-Domain-Routing Protocol (IDRP) protocol information as defined informat of theISO/IEC 10747 standard. The Subtype field is unused. This Typepeer entries isdeprecated due to lack of deployment of IDRP. 5.4. RIPNG Type The RIPNG Type is used to export RIPNG protocol packets as defined in RFC 2080 [RFC2080]. The Subtype field is currently reserved for this Type and SHOULD be set to 0.shown below. Theformat of the MRT Message field for the RIPNG Type is as follows:PEER_INDEX_TABLE record contains Peer Count peer entries. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PeerIP addressType | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |LocalPeer BGP ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |RIPNG Message ContentsPeer AS (variable)+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.5. BGP4PLUS and BGP4PLUS_01 Types| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TheBGP4PLUS and BGP4PLUS_01 Types were defined to support IPv6Peer Type, Peer BGProuting information. The BGP4PLUS Type was specified based onID, Peer IP, and Peer AS fields are repeated as indicated by theinitial Internet Draft for Multiprotocol Extensions to BGP-4.Peer Count field. TheBGP4PLUS_01 Type was specified to correspond to the -01 revisionposition ofthis Internet Draft. The two Types sharethesame definitionsPeer interms of theirthe PEER_INDEX_TABLE is used as an index in the subsequent TABLE_DUMP_V2 MRTformat specifications.records. TheSubtype field definitions are sharedindex number begins with 0. The Peer Type field is a bit field which encodes theBGP Type, however, the address fields intype of theBGP_UPDATE, BGP_OPEN, BGP_NOTIFY, BGP_KEEPALIVE,AS andBGP_STATE_CHANGE Subtype messages are extended to 16 octetsIP address as follows: Bit 0 - unset for IPv4 Peer IP address, set for IPv6addresses. As withBit 1 - unset when Peer AS field is 16 bits, set when it's 32 bits The records which follow theBGP Type,PEER_INDEX_TABLE record constitute theBGP4PLUSRIB entries andBGP4PLUS_01 Types are deprecated as they superseded byinclude a header which specifies a sequence number, NLRI, and a count of theBGP4MP Type. 5.6. OSPF Type This Type supportsnumber of RIB entries which follow. The format for theOSPF Protocol as defined in RFC 2328 [RFC2328].RIB_IPV4_UNICAST, RIB_IPV4_MULTICAST, RIB_IPV6_UNICAST, and RIB_IPV6_MULTICAST headers are shown below. TheSubtypePrefix Length and Prefix fields are encoded in the same manner as the BGP NLRI encoding for IPV4 and IPV6 prefixes. Namely, the Prefix fieldmay contain two possible values: 0 OSPF_STATE_CHANGE 1 OSPF_LSA_UPDATE The formatcontains address prefixes followed by enough trailing bits to make the end of theMRT Messagefieldforfall on an octet boundary. Note that theOSPF Typevalue of trailing bits isas follows:irrelevant. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Remote IP addressSequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Local IP addressPrefix Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |OSPF Message ContentsPrefix (variable)+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.7. TABLE_DUMP Type| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Entry Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TheTABLE_DUMP Type is used to encode the contents of a BGP Routing Information Base (RIB). Each RIB entryRIB_GENERIC header isencoded inshown below. It includes Address Family Identifier (AFI), Subsequent AFI and adistinct sequential MRT record.single NLRI entry. TheSubtype fieldNLRI information isusedspecific toencode whethertheRIB entry contains IPv4 or IPv6 addresses. There are two possibleAFI and SAFI values. An implementation which does not recognize particular AFI and SAFI valuesforSHOULD discard theSubtype as shown below. 1 AFI_IPv4 2 AFI_IPv6 The formatremainder of theTABLE_DUMP Type is illustrated below.MRT record. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |View # |Sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Prefix (variable)Address Family Identifier |Subsequent AFI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Prefix Length | StatusNetwork Layer Reachability Information (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Originated TimeEntry Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The RIB entry headers are followed by a series of RIB entries which are repeated Entry Count times. These entries share a common format as shown below. They include a Peer Index from the PEER_INDEX_TABLE MRT record, an originated time for the RIB entry, and the BGP path attribute length and attributes encoded as provided in a BGP Update message. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PeerIP address (variable)Index | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer ASOriginated Time | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Attribute Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BGPAttribute...Attributes... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+The View field is normally 0 and is intended for cases where an implementation may have multiple RIB views (such as a route server). The Sequence fieldThere isa simple incremental counter for each RIB entry. A typical RIB dump will exceedone exception to the16-bit boundsencoding ofthis counter and implementation should simply wrap back to zero and continue incrementingBGP attributes for thecounterBGP MP_REACH_NLRI attribute (BGP Type Code 14) [RFC 4760]. Since the AFI, SAFI, and NLRI information is already encoded insuch cases. The Prefix field containstheIP address of a particular RIB entry.MULTIPROTOCOL header, only the Next Hop Address Length and Next Hop Address fields are included. Thesize of thisReserved field isdependent onomitted. The attribute length is also adjusted to reflect only thevaluelength of theSubtype for this message. For AFI_IPv4, this field is 4 octets, for AFI_IPv6, it is 16 octets in length. The PrefixNext Hop Address Lengthfield indicates the lengthand Next Hop Address fields. 5.4. BGP4MP Type This Type was initially defined inbits oftheprefix maskZebra software package for thepreceding Prefix field.BGP protocol with multiprotocol extension support as defined by RFC 4760 [RFC4760]. It supersedes the BGP, BGP4PLUS, BGP4PLUS_01 Types. TheStatus octetBGP4MP Type has six Subtypes which are defined as follows: 0 BGP4MP_STATE_CHANGE 1 BGP4MP_MESSAGE 4 BGP4MP_STATE_CHANGE_AS4 5 BGP4MP_MESSAGE_AS4 5.4.1. BGP4MP_STATE_CHANGE Subtype This record isnotused to encode state changes in theTABLE_DUMP TypeBGP finite state machine. The BGP FSM states are encoded in the Old State andSHOULD be setNew State fields to1. The Originated Time containsindicate the4-octet time at which this prefix was heard.previous and current state. Thevalue represents the time in seconds sinceformat is illustrated below: 0 1January 1970 00:00:00 UTC. The2 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IPfield is theaddress (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP addressof the peer which provided the update for this RIB entry. As with(variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Old State | New State | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The FSM states are defined in RFC 4271 [RFC4271], Section 8.2.2. Both thePrefix field,old state value and thesize of this field is dependent on the Subtype. AFI_IPv4 indicates anew state value are encoded as 2-octet numbers. The state values are defined numerically as follows: 1 Idle 2 Connect 3 Active 4octet field and an IPv4 address, while a Subtype of AFI_IPv6 requires a 16 octet fieldOpenSent 5 OpenConfirm 6 Established The BGP4MP_STATE_CHANGE message also includes interface index andan IPv6 address.Address Family fields. ThePeer AS field containsinterface index provides theASinterface number of thepeer. Attribute lengthpeering session. The index value isthe length of Attribute fieldOPTIONAL andis 2-octets.MAY be zero if unknown or unsupported. TheAttribute field containsAddress Family indicates what types of addresses are in theattribute information fortheRIB entry. 5.8. TABLE_DUMP_V2 Type The TABLE_DUMP_V2 Type updatesaddress fields. At present, theTABLE_DUMP Typefollowing AFI Types are supported: 1 AFI_IPv4 2 AFI_IPv6 5.4.2. BGP4MP_MESSAGE Subtype This Subtype is used toinclude 32BIT ASN support and full support forencode BGPMultiprotocol extensions.Messages. Italso improves upon the space efficiencycan be used to encode any Type of BGP message. In order to determine theTABLE_DUMP Type by employing an index table for peersBGP message Type, the entire BGP message is included in the BGP Message field. This includes 16-octet marker, 2-ocet length, andpermitting a single MRT record per NLRI entry.1-octet type fields. Note that the BGP4MP_MESSAGE Subtype does not support 32BIT AS numbers. Thefollowing subtypes are used withBGP4MP_MESSAGE_AS4 Subtype updates theTABLE_DUMP_V2 Type. 1 PEER_INDEX_TABLE 2 RIB_IPV4_UNICAST 3 RIB_IPV4_MULTICAST 4 RIB_IPV6_UNICAST 5 RIB_IPV6_MULTICAST 6 RIB_GENERIC An initial PEER_INDEX_TABLE MRT record provides the BGP ID of the collector, an optional view name, and a list of indexed peers. Following the PEER_INDEX_TABLE MRT record, a series of MRT records are used to encode RIB table entries. This series of MRT records use subtypes 2-6 and are separate from the PEER_INDEX_TABLE MRT record itself and include full MRT record headers. The header of the PEER_INDEX_TABLE Subtype is shown below. The View Name is optional and, if not present, the View Name Length MUST be set to 0. The View Name encoding MUST follow the UTF-8 transformation format. 0 1 2 3 0BGP4MP_MESSAGE Subtype in order to support these. The BGP4MP_MESSAGE fields are shown below: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Collector BGP ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | View Name LengthPeer AS number |View Name (variable)Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer Count | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The format of the peer entries is shown below. The PEER_INDEX_TABLE record contains Peer Count peer entries. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+Interface Index |Peer TypeAddress Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PeerBGP IDIP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |PeerLocal IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer ASBGP Message... (variable)| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ThePeer Type, Peer BGP ID, Peer IP, and Peer AS fields are repeated as indicated byinterface index provides thePeer Count field. The positioninterface number of thePeer in the PEER_INDEX_TABLE is used as an index in the subsequent TABLE_DUMP_V2 MRT records.peering session. The indexnumber begins with 0. The Peer Type fieldvalue isa bit field which encodes the typeOPTIONAL and MAY be zero if unknown or unsupported. The Address Family indicates what types of addresses are in theAS and IPthe subsequent addressas follows: Bit 0 - unset for IPv4 Peer IP address, set for IPv6 Bitfields. At present, the following AFI Types are supported: 1- unset when Peer AS field is 16 bits, set when it's 32 bits The records which followAFI_IPv4 2 AFI_IPv6 Note that thePEER_INDEX_TABLE record constituteAddress Family value only applies to theRIB entries and include a header which specifies a sequence number, NLRI, and a count ofIP addresses contained in thenumber of RIB entries which follow.MRT header. Theformat forBGP4MP_MESSAGE Subtype is otherwise transparent to theRIB_IPV4_UNICAST, RIB_IPV4_MULTICAST, RIB_IPV6_UNICAST, and RIB_IPV6_MULTICAST headers are shown below. The Prefix Length and Prefix fields arecontents of the actual message which may contain any valid AFI/SAFI values. Only one BGP message may be encoded in thesame manner asBGP4MP_MESSAGE Subtype. 5.4.3. BGP4MP_STATE_CHANGE_AS4 Subtype This Subtype updates the BGP4MP_STATE_CHANGE Subtype to support 32BIT Autonomous System numbers. As with the BGP4MP_STATE_CHANGE Subtype, the BGPNLRI encoding for IPV4 and IPV6 prefixes. Namely,FSM states are encoded in thePrefix field contains address prefixes followed by enough trailing bitsOld State and New State fields tomake the end ofindicate thefield fall on an octet boundary. Note thatprevious and current state. Aside from thevalueextension oftrailing bitsthe peer and local AS fields to 32 bits, this subtype isirrelevant.otherwise identical to the BGP4MP_STATE_CHANGE Subtype. The BGP4MP_STATE_CHANGE_AS4 fields are shown below: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |SequencePeer AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Prefix LengthLocal AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |PrefixInterface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Entry CountLocal IP address (variable) |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The RIB_GENERIC header is shown below. It includes Address Family Identifier (AFI), Subsequent AFI and a single NLRI entry.+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Old State | New State | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.4.4. BGP4MP_MESSAGE_AS4 Subtype This Subtype updates the BGP4MP_MESSAGE Subtype to support 32BIT Autonomous System numbers. TheNLRI informationBGP4MP_MESSAGE_AS4 Subtype isspecificotherwise identical to theAFI and SAFI values. An implementation which does not recognize particular AFI and SAFI values SHOULD discard the remainder of the MRT record.BGP4MP_MESSAGE Subtype. The BGP4MP_MESSAGE_AS4 fields are shown below: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |SequencePeer AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address FamilyIdentifier |Subsequent AFI| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Network Layer Reachability InformationPeer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Entry CountLocal IP address (variable) |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The RIB entry headers are followed by a series of RIB entries which are repeated Entry Count times. These entries share a+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BGP Message... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.5. BGP4MP_ET Type This Type was initially defined in the Sprint Labs Python Routing Toolkit (PyRT). It extends the MRT commonformat as shown below. Theyheader field to include aPeer Index from the PEER_INDEX_TABLE MRT record, an originated time32BIT microsecond timestamp field. The type and subtype field definitions remain as defined for theRIB entry, andBGP4MP Type. The 32BIT microsecond timestamp immediately follows theBGP path attributelength field in the MRT common header andattributes encoded as providedprecedes all other fields ina BGP Updatethe message.0 1 2 3 0 1 2 3 4The 32BIT microsecond field is included in the computation of the length field value. The MRT common header modification is illustrated below. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer IndexTimestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Originated TimeType | Subtype | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |AttributeLength | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |BGP Attributes...microsecond timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Message... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.6. ISIS Type This Type was initially defined in the Sprint Labs Python Routing and supports the IS-IS routing protocol as defined in RFC 1195 [RFC1195]. There isone exception to the encoding of BGP attributesno Type specific header for theBGP MP_REACH_NLRI attribute (BGPISIS Type. The Subtype code for this TypeCode 14) [RFC 4760]. Since the AFI, SAFI, and NLRI informationisalready encoded in the MULTIPROTOCOL header, onlyundefined. The ISIS PDU directly follows theNext Hop Address Length and Next Hop Address fields are included.MRT common header fields. 5.7. ISIS_ET Type TheReservedISIS_ET Type extends the ISIS Type to support microsecond timestamps. As with the BGP4MP_ET Type, a 32BIT microsecond timestamp field isomitted. The attribute length is also adjustedappended toreflect onlythe MRT common header after the lengthoffield. The ISIS_ET Type is otherwise identical to theNext Hop Address Length and Next Hop Address fields. 5.9. BGP4MPISIS Type. 5.8. OSPFv3 TypeThisThe OSPFv3 Typewas initially defined inextends theZebra software packageoriginal OSPF Type to support IPv6 addresses for theBGPOSPFv3 protocolwith multiprotocol extension supportas definedbyin RFC4760 [RFC4760]. It supersedes the BGP, BGP4PLUS, BGP4PLUS_01 Types.2740 [RFC2740]. TheBGP4MPformat of the MRT Message field for the OSPFv3 Typehas six Subtypes which are definedis as follows: 0BGP4MP_STATE_CHANGE 1 BGP4MP_MESSAGE 2 BGP4MP_ENTRY *DEPRECATED* 3 BGP4MP_SNAPSHOT *DEPRECATED* 4 BGP4MP_STATE_CHANGE_AS4 5 BGP4MP_MESSAGE_AS4 5.9.1. BGP4MP_STATE_CHANGE Subtype This record is used to encode state changes in the BGP finite state machine. As with the BGP_STATE_CHANGE Subtype, the BGP FSM states are encoded in the Old State and New State fields to indicate the previous and current state. The format is illustrated below: 01 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+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |PeerRemote IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Old State | New State | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ While BGP4MP_STATE_CHANGE message is similar toOSPF Message Contents (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.9. OSPFv3_ET Type The OSPFv3_ET Type extends theBGP_STATE_CHANGE message, it also includes interface index and Address Family fields.OSPFv3 Type to support microsecond timestamps. As with theBGP_STATE_CHANGE message,BGP4MP_ET Type, a 32BIT microsecond timestamp field is appended to theFSM states are defined in RFC 4271 [RFC4271], Section 8.2.2 withMRT common header after thenumeric values for these states defined inthe BGP_STATE_CHANGE section. The interface index provideslength field and its length is included in theinterface numbercalculation of thepeering session.length field value. Theindex valueOSPFv3_ET Type isOPTIONAL and MAY be zero if unknown or unsupported. The Address Family indicates what types of addresses are in the the address fields. At present,otherwise identical to thefollowing AFI Types are supported: 1 AFI_IPv4 2 AFI_IPv6 5.9.2. BGP4MP_MESSAGE SubtypeOSPFv3 Type. 6. IANA Considerations ThisSubtype is used to encode BGP Messages. It is similarsection provides guidance to theBGP_UPDATE Subtype, except that is can be used to encode any TypeInternet Assigned Numbers Authority (IANA) regarding registration ofmessage (not simply BGP UPDATES). In ordervalues related todeterminetheBGP message Type, the entire BGP message is includedMRT specification, inthe BGP Message field. This includes 16-octet marker, 2-ocet length, and 1-octet type fields. Noteaccordance with BCP 26, RFC 2434 [RFC2434]. There are two name spaces in MRT thatthe BGP4MP_MESSAGE Subtype does not support 32BIT AS numbers nor IPv6 addresses. The BGP4MP_MESSAGE_AS4 Subtype updates the BGP4MP_MESSAGErequire registration: Type Codes and Subtypein order to support these. The BGP4MP_MESSAGE fields are shown below: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BGP Message... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The interface index provides the interface number of the peering session. The index valueCodes. MRT isOPTIONALnot intended as a general-purpose specification for protocol information export, andMAYallocations should not bezero if unknown or unsupported.made for purposes unrelated to routing protocol information export. TheAddress Family indicates what types of addresses are in the the subsequent address fields. At present, thefollowingAFI Typespolicies aresupported: 1 AFI_IPv4 2 AFI_IPv6 Note that the Address Family value only applies toused here with theIP addresses containedmeanings defined inthe MRT header. The BGP4MP_MESSAGE Subtype is otherwise transparent to the contents of the actual message which may contain any valid AFI/SAFI values. Only one BGP message mayBCP 26: "Specification Required", "IETF Consensus". 6.1. Type Codes Type Codes have a range from 0 to 65535, of which 0-64 have been allocated. New Type Codes MUST beencoded inallocated starting at 65. Type Codes 65 - 32767 are to be assigned by IETF Consensus. Type Codes 32768 - 65535 are assigned based on Specification Required. 6.2. Subtype Codes Subtype Codes have a range from 0 to 65535. Subtype definitions are specific to a particular Type Code definition. New Subtype Code definition must reference an existing Type Code to which theBGP4MP_MESSAGE Subtype. 5.9.3. BGP4MP_ENTRYSubtypeThisbelongs. As Subtypeis similarCodes are specific to Type Codes, new numbers must be unique for theTABLE_DUMPparticular Typeand is usedCode to which the Subtype applies. Subtype Codes specific torecord RIB table entries. It extendstheTABLE_DUMPType Codes 0 - 32767 are assigned by IETF Consensus. Subtype Codes specific toinclude true multiprotocol support. However, thisTypedoes not support 32BIT AS numbersCodes 32768 - 65535 are assigned based on Specification Required. 7. Security Considerations The MRT Format utilizes a structure which can store routing protocol information data. The fields defined in the MRT specification are of a descriptive nature andhas not been widely implemented. This Typeprovide information that isdeprecated in favoruseful to facilitate the analysis of routing data. As such, theTABLE_DUMP_V2 which includes 32BIT AS number support and a more compact format. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | View # | Status | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Time last change | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Family | SAFI | Next-Hop-Len | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Next Hop Address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Prefix Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Prefix (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Attribute Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BGP Attribute... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.9.4. BGP4MP_SNAPSHOT Subtype This Subtype was intended to convey a system file name where BGP4MP_ENTRY messages should be recorded. It is similar to the BGP_SYNC message Subtype and is deprecated. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | View # | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | File Name... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.9.5. BGP4MP_STATE_CHANGE_AS4 Subtype This Subtype updates the BGP4MP_STATE_CHANGE Subtype to support 32BIT Autonomous System numbers. As with the BGP4MP_STATE_CHANGE Subtype,fields currently defined in theBGP FSM states are encodedMRT specification do not in themselves create additional security risks, since theOld State and New Statefields are not used toindicate the previous and current state. Aside frominduce any particular behavior by theextensionrecipient application. 8. References 8.1. Normative References [RFC1058] Hedrick, C., "Routing Information Protocol", RFC 1058, June 1988. [RFC1195] Callon, R., "Use ofthe peer and local AS fieldsOSI IS-IS for routing in TCP/IP and dual environments", RFC 1195, December 1990. [RFC2080] Malkin, G. and R. Minnear, "RIPng for IPv6", RFC 2080, January 1997. [RFC2119] Bradner, S., "Key words for use in RFCs to32 bits, this subtype is otherwise identicalIndicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2328] Moy, J., "OSPF Version 2", STD 54, RFC 2328, April 1998. [RFC2434] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 2434, October 1998. [RFC2740] Coltun, R., Ferguson, D., and J. Moy, "OSPF for IPv6", RFC 2740, December 1999. [RFC4271] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, January 2006. [RFC4760] Bates, T., Chandra, R., Katz, D., and Y. Rekhter, "Multiprotocol Extensions for BGP-4", RFC 4760, January 2007. 8.2. Informative References [MRT PROG GUIDE] Labovitz, C., "MRT Programmer's Guide", November 1999, <http://www.merit.edu/networkresearch/mrtprogrammer.pdf>. Appendix A. Deprecated MRT types This Appendix lists deprecated MRT types. These types are documented for informational purposes only. While documented in some references, they are not known tothe BGP4MP_STATE_CHANGE Subtype.have been generally implemented. A.1. Deprecated MRT Informational Types TheBGP4MP_STATE_CHANGE_AS4 fieldsdeprecated MRT Informational Types areshowndefined below: 01 2 3 0 1NULL 23 4 5 6 7 8 9 0 1 2 3DIE 4 PEER_DOWN A.1.1. NULL Type The NULL Type message causes no operation. A.1.2. DIE Type The DIE Type signals a remote MRT repository it should stop accepting messages. A.1.3. PEER_DOWN Type The PEER_DOWN message was intended to indicate that a collector had lost association with a BGP peer. However, the MRT format provides BGP state change message types which duplicate this functionality. A.2. Deprecated MRT Routing Information Types 5 BGP 6 RIP 7 IDRP 8 RIPNG 9 BGP4PLUS 10 BGP4PLUS_01 A.2.1. BGP Type The BGP Type indicates the Message field contains BGP routing information. The BGP routing protocol is defined in RFC 4271 [RFC4271]. The information in the message is dependent on the Subtype value. The BGP Type and all associated Subtypes below are considered to be deprecated by the BGP4MP Type. The following BGP Subtypes are defined for the MRT BGP Type. As with the BGP Type itself, they are all considered to be deprecated. 0 BGP_NULL 1 BGP_UPDATE 2 BGP_PREF_UPDATE 3 BGP_STATE_CHANGE 4 BGP_SYNC 5 BGP_OPEN 6 BGP_NOTIFY 78 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Old State | New State | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.9.6. BGP4MP_MESSAGE_AS4BGP_KEEPALIVE A.2.1.1. BGP_NULL SubtypeThisThe BGP_NULL Subtypeupdates the BGP4MP_MESSAGEis a reserved Subtype. A.2.1.2. BGP_UPDATE Subtypeto support 32BIT Autonomous System numbers.TheBGP4MP_MESSAGE_AS4BGP_UPDATE Subtype isotherwise identicalused tothe BGP4MP_MESSAGE Subtype.encode BGP UPDATE messages. TheBGP4MP_MESSAGE_AS4 fields are shown below:format of the MRT Message field for this Subtype is as follows: 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+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Peer IP address(variable)| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address(variable)| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BGPMessage...UPDATE Contents (variable)+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.10. BGP4MP_ET Type This Type was initially defined in+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The BGP UPDATE Contents include theSprint Labs Python Routing Toolkit (PyRT). It extendsentire BGP UPDATE message which follows theMRT common header field to include a 32BIT microsecond timestamp field.BGP Message Header. ThetypeBGP Message Header itself is not included. The Peer AS number andsubtype field definitions remain as defined forIP address fields contain theBGP4MP Type. The 32BIT microsecond timestamp immediately followsAS number and IP address of thelength field inremote system which are generating theMRT common headerBGP UPDATE messages. The Local AS number andprecedes all otherIP address fieldsincontain themessage.AS number and IP address of the local collector system which is archiving the messages. A.2.1.3. BGP_PREF_UPDATE Subtype The32BIT microsecond fieldBGP_PREF_UPDATE Subtype isincludednot defined. A.2.1.4. BGP_STATE_CHANGE Subtype The BGP_STATE_CHANGE Subtype is used to record changes in thecomputation ofBGP finite state machine. These FSM states are defined in RFC 4271 [RFC4271], Section 8.2.2. Both thelength field value.old state value and the new state value are encoded as 2-octet numbers. The state values are defined numerically as follows: 1 Idle 2 Connect 3 Active 4 OpenSent 5 OpenConfirm 6 Established The format of the MRTcommon header modificationMessage field isillustrated below.as follows: 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+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |TimestampPeer AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Type | SubtypePeer IP address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+Old State |microsecond timestampNew State | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+| Message... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.11. ISIS Type This TypeA.2.1.5. BGP_SYNC Subtype The BGP_SYNC Subtype wasinitially defined in the Sprint Labs Python Routing and supportsintended to convey a system file name where BGP Table Dump messages should be recorded. The View # was to correspond to theIS-IS routing protocol as definedView # provided inRFC 1195 [RFC1195].the TABLE_DUMP Type messages. Thereisare noType specific header for the ISIS Type. The Subtype code forknown implementations of thisType is undefined. The ISIS PDU directly follows the MRT common header fields. 5.12. ISIS_ET Type The ISIS_ET Type extends the ISIS Type to support microsecond timestamps. As with the BGP4MP_ET Type, a 32BIT microsecond timestamp field is appended to the MRT common header after the length field. The ISIS_ET Type is otherwise identical to the ISIS Type. 5.13. OSPFv3 Type The OSPFv3 Type extends the original OSPF Type to support IPv6 addresses for the OSPFv3 protocol as defined in RFC 2740 [RFC2740].subtype and it SHOULD be ignored. The following formatof the MRT Message field for the OSPFv3 Type is as follows:applies to this Subtype: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Remote IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address (variable)View # | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |OSPF Message ContentsFile Name... (variable)+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 5.14. OSPFv3_ET Type+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ TheOSPFv3_ET Type extends the OSPFv3 Type to support microsecond timestamps. AsFile Name is terminated withthe BGP4MP_ET Type,a32BIT microsecond timestamp fieldNULL (0) character. A.2.1.6. BGP_OPEN Subtype The BGP_OPEN Subtype isappendedused to encode BGP OPEN messages. The format of the MRTcommon header after the lengthMessage fieldand its lengthfor this Subtype isincluded inthecalculation ofsame as thelengthBGP_UPDATE, however, the last fieldvalue.contains the contents of the BGP OPEN message. A.2.1.7. BGP_NOTIFY Subtype TheOSPFv3_ET TypeBGP_NOTIFY Subtype isotherwise identical to the OSPFv3 Type. 6. IANA Considerations This section provides guidanceused tothe Internet Assigned Numbers Authority (IANA) regarding registrationencode BGP NOTIFICATION messages. The format ofvalues related tothe MRTspecification, in accordance with BCP 26, RFC 2434 [RFC2434]. There are two name spaces in MRT that require registration: Type Codes andMessage field for this SubtypeCodes. MRTisnot intendedthe same asa general-purpose specification for protocol information export, and allocations should not be made for purposes unrelated to routing protocol information export. The following policies are used here withthemeanings defined in BCP 26: "Specification Required", "IETF Consensus". 6.1. Type Codes Type Codes have a range from 0 to 65535,BGP_UPDATE, however, the last field contains the contents ofwhich 0-64 have been allocated. New Type Codes MUST be allocated starting at 65. Type Codes 65 - 32767 are to be assigned by IETF Consensus. Type Codes 32768 - 65535 are assigned based on Specification Required. 6.2.the BGP NOTIFICATION message. A.2.1.8. BGP_KEEPALIVE SubtypeCodesThe BGP_KEEPALIVE SubtypeCodes have a range from 0is used to65535.encode BGP KEEPALIVE messages. The format of the MRT Message field for this Subtypedefinitions are specific to a particularis the same as the BGP_UPDATE, however, the last field contains no information. A.2.2. RIP TypeCode definition. New Subtype Code definition must reference an existingThe RIP TypeCodeis used towhich the Subtype belongs. Asexport RIP protocol packets as defined in RFC 1058 [RFC1058]. The SubtypeCodes are specific to Type Codes, new numbers must be uniquefield is currently reserved forthe particularthis TypeCodeand SHOULD be set towhich0. The format of theSubtype applies. Subtype Codes specific toMRT Message field for the RIP TypeCodesis as follows: 0- 32767 are assigned by IETF Consensus. Subtype Codes specific to Type Codes 32768 - 65535 are assigned based on Specification Required. 7. Security Considerations1 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RIP Message Contents (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ A.2.3. IDRP Type TheMRT Format utilizes a structure which can store routingIDRP Type is used to export Inter-Domain-Routing Protocol (IDRP) protocol informationdata. The fieldsas defined in theMRT specification are of a descriptive nature and provide information thatISO/IEC 10747 standard. The Subtype field isusefulunused. This Type is deprecated due tofacilitate the analysislack ofrouting data. As such, the fields currentlydeployment of IDRP. A.2.4. RIPNG Type The RIPNG Type is used to export RIPNG protocol packets as defined in RFC 2080 [RFC2080]. The RIPNG protocol updates theMRT specification do not in themselves create additional security risks, since the fields are not usedRIP protocol toinduce any particular behavior by the recipient application. 8. References 8.1. Normative References [RFC1058] Hedrick, C., "Routing Information Protocol", RFC 1058, June 1988. [RFC1195] Callon, R., "Use of OSI IS-ISsupport IPv6. The Subtype field is currently reserved forrouting in TCP/IP and dual environments", RFC 1195, December 1990. [RFC2080] Malkin, G.this Type andR. Minnear, "RIPng for IPv6", RFC 2080, January 1997. [RFC2119] Bradner, S., "Key words for use in RFCsSHOULD be set toIndicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2328] Moy, J., "OSPF Version 2", STD 54, RFC 2328, April 1998. [RFC2434] Narten, T.0. The format of the MRT Message field for the RIPNG Type is as follows: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ Peer IPv6 address ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ Local IPv6 address ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RIPNG Message Contents (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ A.2.5. BGP4PLUS andH. Alvestrand, "GuidelinesBGP4PLUS_01 Types The BGP4PLUS and BGP4PLUS_01 Types were defined to support IPv6 BGP routing information. The BGP4PLUS Type was specified based on the initial Internet Draft forWriting an IANA Considerations SectionMultiprotocol Extensions to BGP-4. The BGP4PLUS_01 Type was specified to correspond to the -01 revision of this Internet Draft. The two Types share the same definitions inRFCs", BCP 26, RFC 2434, October 1998. [RFC2740] Coltun, R., Ferguson, D.,terms of their MRT format specifications. The Subtype field definitions are shared with the BGP Type, however, the address fields in the BGP_UPDATE, BGP_OPEN, BGP_NOTIFY, BGP_KEEPALIVE, andJ. Moy, "OSPFBGP_STATE_CHANGE Subtype messages are extended to 16 octets forIPv6", RFC 2740, December 1999. [RFC4271] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, January 2006. [RFC4760] Bates, T., Chandra, R., Katz, D.,IPv6 addresses. As with the BGP Type, the BGP4PLUS andY. Rekhter, "Multiprotocol Extensions for BGP-4", RFC 4760, January 2007. 8.2. Informative References [MRT PROG GUIDE] Labovitz, C., "MRT Programmer's Guide", November 1999, <http://www.merit.edu/networkresearch/mrtprogrammer.pdf>.BGP4PLUS_01 Types are deprecated as they superseded by the BGP4MP Type. A.2.6. Deprecated BGP4MP Subtypes The following two subtypes of the BGP4MP Type are considered to be deprecated. 2 BGP4MP_ENTRY 3 BGP4MP_SNAPSHOT A.2.6.1. BGP4MP_ENTRY Subtype This Subtype is similar to the TABLE_DUMP Type and is used to record RIB table entries. It extends the TABLE_DUMP Type to include true multiprotocol support. However, this Type does not support 32BIT AS numbers and has not been widely implemented. This Type is deprecated in favor of the TABLE_DUMP_V2 which includes 32BIT AS number support and a more compact format. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer AS number | Local AS number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Interface Index | Address Family | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Peer IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Local IP address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | View # | Status | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Time last change | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Family | SAFI | Next-Hop-Len | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Next Hop Address (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Prefix Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Address Prefix (variable) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Attribute Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BGP Attribute... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ A.2.6.2. BGP4MP_SNAPSHOT Subtype This Subtype was intended to convey a system file name where BGP4MP_ENTRY messages should be recorded. It is similar to the BGP_SYNC message Subtype and is deprecated. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | View # | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | File Name... (variable) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Authors' Addresses Larry Blunk Merit Network Email: ljb@merit.edu Manish Karir Merit Network Email: mkarir@merit.edu Craig Labovitz Arbor Networks Email: labovit@arbor.net Full Copyright Statement Copyright (C) The IETF Trust (2008). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intellectual Property The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Acknowledgment Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA).