跳到主要内容

IANA 考虑

IANA 考虑 (IANA Considerations)

所有 BGP message 都包含一个 8-bit message type, IANA 已为其创建并维护名为 "BGP Message Types" 的 registry. 本文档定义以下 message type:

Name定义
OPEN1见 Section 4.2
UPDATE2见 Section 4.3
NOTIFICATION3见 Section 4.5
KEEPALIVE4见 Section 4.4

未来分配通过 [RFC2434] 中定义的 Standards Action 流程, 或 [RFC4020] 中定义的 Early IANA Allocation 流程进行. 分配由名称和值组成.

BGP UPDATE message 可以携带一个或多个 path attribute, 每个 attribute 都包含一个 8-bit Attribute Type Code. IANA 已维护一个名为 "BGP Path Attributes" 的此类 registry. 本文档定义以下 path attribute type code:

Name定义
ORIGIN1见 Section 5.1.1
AS_PATH2见 Section 5.1.2
NEXT_HOP3见 Section 5.1.3
MULTI_EXIT_DISC4见 Section 5.1.4
LOCAL_PREF5见 Section 5.1.5
ATOMIC_AGGREGATE6见 Section 5.1.6
AGGREGATOR7见 Section 5.1.7

未来分配通过 [RFC2434] 中定义的 Standards Action 流程, 或 [RFC4020] 中定义的 Early IANA Allocation 流程进行. 分配由名称和值组成.

BGP NOTIFICATION message 携带一个 8-bit Error Code, IANA 已为其创建并维护名为 "BGP Error Codes" 的 registry. 本文档定义以下 error code:

Name定义
Message Header Error1Section 6.1
OPEN Message Error2Section 6.2
UPDATE Message Error3Section 6.3
Hold Timer Expired4Section 6.5
Finite State Machine Error5Section 6.6
Cease6Section 6.7

未来分配通过 [RFC2434] 中定义的 Standards Action 流程, 或 [RFC4020] 中定义的 Early IANA Allocation 流程进行. 分配由名称和值组成.

BGP NOTIFICATION message 携带一个 8-bit Error Subcode, 每个 subcode 必须在特定 error code 的上下文中定义, 因此只需在该上下文中唯一.

IANA 已创建并维护一组名为 "Error Subcodes" 的 registry, 每个 BGP error code 对应一个独立 registry. 未来分配通过 [RFC2434] 中定义的 Standards Action 流程, 或 [RFC4020] 中定义的 Early IANA Allocation 流程进行. 分配由名称和值组成.

本文档定义以下 Message Header Error subcode:

Name定义
Connection Not Synchronized1见 Section 6.1
Bad Message Length2见 Section 6.1
Bad Message Type3见 Section 6.1

本文档定义以下 OPEN Message Error subcode:

Name定义
Unsupported Version Number1见 Section 6.2
Bad Peer AS2见 Section 6.2
Bad BGP Identifier3见 Section 6.2
Unsupported Optional Parameter4见 Section 6.2
[Deprecated]5见 Appendix A
Unacceptable Hold Time6见 Section 6.2

本文档定义以下 UPDATE Message Error subcode:

Name定义
Malformed Attribute List1见 Section 6.3
Unrecognized Well-known Attribute2见 Section 6.3
Missing Well-known Attribute3见 Section 6.3
Attribute Flags Error4见 Section 6.3
Attribute Length Error5见 Section 6.3
Invalid ORIGIN Attribute6见 Section 6.3
[Deprecated]7见 Appendix A
Invalid NEXT_HOP Attribute8见 Section 6.3
Optional Attribute Error9见 Section 6.3
Invalid Network Field10见 Section 6.3
Malformed AS_PATH11见 Section 6.3