如果BGP报文头中的TYPE为3,则该报文为NOTIFICATION报文。报文头后面所接的报文内容如下(RFC 4271),NOTIFICATION报文用于处理BGP进程中的各种错误。
Error Code | Error Subcode |
1: Message header error | 1: connection not synchronized |
2: error message length |
3: error message type |
2: Open message error | 1: unsupported version number |
2: error peer AS |
3: error BGP identifier |
4: unsupported optional parameter |
5: authentication failed |
6: unacceptable Holdtime |
7: unsupported capability |
3: Update message error | 1: malformed attribute list |
2: unrecognized well-known attribute |
3: well-known attribute is missing |
4: attribute flags error |
5: attribute length error |
6: invalid origin attribute |
7: AS routing loop |
8: invalid Next-Hop attribute |
9: error optional attribute |
10: invalid network field |
11: abnormal AS-Path |
4: Hold timer expired | 0: no special definition of the error subcode |
5: Finite state machine error | 0: no special definition of the error subcode |
6: Cease | 1: maximum number of prefixes reached |
2: administrative shutdown |
3: peer de-configured |
4: administrative reset |
5: connection rejected |
6: other configuration change |
7: connection collision resolution |
8: out of resources |
9: BFD session Down |