IANA 考虑
IANA 考虑 (IANA Considerations)
所有 BGP message 都包含一个 8-bit message type, IANA 已为其创建并维护名为 "BGP Message Types" 的 registry. 本文档定义以下 message type:
| Name | 值 | 定义 |
|---|---|---|
| OPEN | 1 | 见 Section 4.2 |
| UPDATE | 2 | 见 Section 4.3 |
| NOTIFICATION | 3 | 见 Section 4.5 |
| KEEPALIVE | 4 | 见 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 | 值 | 定义 |
|---|---|---|
| ORIGIN | 1 | 见 Section 5.1.1 |
| AS_PATH | 2 | 见 Section 5.1.2 |
| NEXT_HOP | 3 | 见 Section 5.1.3 |
| MULTI_EXIT_DISC | 4 | 见 Section 5.1.4 |
| LOCAL_PREF | 5 | 见 Section 5.1.5 |
| ATOMIC_AGGREGATE | 6 | 见 Section 5.1.6 |
| AGGREGATOR | 7 | 见 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 Error | 1 | Section 6.1 |
| OPEN Message Error | 2 | Section 6.2 |
| UPDATE Message Error | 3 | Section 6.3 |
| Hold Timer Expired | 4 | Section 6.5 |
| Finite State Machine Error | 5 | Section 6.6 |
| Cease | 6 | Section 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 Synchronized | 1 | 见 Section 6.1 |
| Bad Message Length | 2 | 见 Section 6.1 |
| Bad Message Type | 3 | 见 Section 6.1 |
本文档定义以下 OPEN Message Error subcode:
| Name | 值 | 定义 |
|---|---|---|
| Unsupported Version Number | 1 | 见 Section 6.2 |
| Bad Peer AS | 2 | 见 Section 6.2 |
| Bad BGP Identifier | 3 | 见 Section 6.2 |
| Unsupported Optional Parameter | 4 | 见 Section 6.2 |
| [Deprecated] | 5 | 见 Appendix A |
| Unacceptable Hold Time | 6 | 见 Section 6.2 |
本文档定义以下 UPDATE Message Error subcode:
| Name | 值 | 定义 |
|---|---|---|
| Malformed Attribute List | 1 | 见 Section 6.3 |
| Unrecognized Well-known Attribute | 2 | 见 Section 6.3 |
| Missing Well-known Attribute | 3 | 见 Section 6.3 |
| Attribute Flags Error | 4 | 见 Section 6.3 |
| Attribute Length Error | 5 | 见 Section 6.3 |
| Invalid ORIGIN Attribute | 6 | 见 Section 6.3 |
| [Deprecated] | 7 | 见 Appendix A |
| Invalid NEXT_HOP Attribute | 8 | 见 Section 6.3 |
| Optional Attribute Error | 9 | 见 Section 6.3 |
| Invalid Network Field | 10 | 见 Section 6.3 |
| Malformed AS_PATH | 11 | 见 Section 6.3 |