BGP的NOTIFICATION报文格式 from RFC1771
来源:互联网 发布:linux启动黑屏 编辑:程序博客网 时间:2024/06/05 02:17
NOTIFICATION Message Format
A NOTIFICATION message is sent when an error condition is detected. The BGP connection is closed immediately after sending it.
In addition to the fixed-size BGP header, the NOTIFICATION message contains the following fields:
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Error code | Error subcode | Data |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Error Code:
This 1-octet unsigned integer indicates the type of NOTIFICATION. The following Error Codes have been defined:
Error Code Symbolic Name
1 Message Header Error
2 OPEN Message Error
3 UPDATE Message Error
4 Hold Timer Expired
5 Finite State Machine Error
6 Cease
Error subcode:
This 1-octet unsigned integer provides more specific information about the nature of the reported error. Each Error Code may have one or more Error Subcodes associated with it.
If no appropriate Error Subcode is defined, then a zero (Unspecific) value is used for the Error Subcode field.
Message Header Error subcodes:
1 - Connection Not Synchronized.
2 - Bad Message Length.
3 - Bad Message Type.
OPEN Message Error subcodes:
1 - Unsupported Version Number.
2 - Bad Peer AS.
3 - Bad BGP Identifier.
4 - Unsupported Optional Parameter.
5 - Authentication Failure.
6 - Unacceptable Hold Time.
UPDATE Message Error subcodes:
1 - Malformed Attribute List.
2 - Unrecognized Well-known Attribute.
3 - Missing Well-known Attribute.
4 - Attribute Flags Error.
5 - Attribute Length Error.
6 - Invalid ORIGIN Attribute
7 - AS Routing Loop.
8 - Invalid NEXT_HOP Attribute.
9 - Optional Attribute Error.
10 - Invalid Network Field.
11 - Malformed AS_PATH.
Data:
This variable-length field is used to diagnose the reason for the NOTIFICATION. The contents of the Data field depend upon the Error Code and Error Subcode. See Section 6 below for more
details.
Note that the length of the Data field can be determined from the message Length field by the formula:
Message Length = 21 + Data Length
The minimum length of the NOTIFICATION message is 21 octets (including message header).
- BGP的NOTIFICATION报文格式 from RFC1771
- DNS的报文格式
- 深度分析QCN(Congestion Notification)报文格式
- BGP的消息类型以及格式
- 特殊格式报文的实现
- ARP协议的报文格式
- 目前常用的报文格式
- ARP协议的报文格式
- ARP协议的报文格式
- PPP协议的报文格式
- ARP协议的报文格式
- ARP协议的报文格式
- ARP协议的报文格式
- MODBUS RTU的报文格式
- ARP协议的报文格式
- can报文的帧格式
- 报文格式【定长报文】
- 报文格式
- C++中文件的读写
- 前两天和蚊子打了一晚上的架~~~战况惨烈阿~~~
- Apache服务器实现用户验证
- windows平台下编译stunnel
- 浏览器大战 Netscape走向灭绝还是“咸鱼翻身”
- BGP的NOTIFICATION报文格式 from RFC1771
- 测试DHCP的功能
- document.execCommand() 解析
- An Essay on Endian Order
- 重新申请一个Blog^_^
- 测试vlan功能
- 设计模式之Iterator——点名篇
- 测试vpn的基本功能
- 书评——游戏编程精粹 & 游戏开发物理学