EGP 错误消息
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! EGP Version # ! Type ! Code ! Unused !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! Checksum ! Autonomous System # !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! Error Type ! Error Code ! Id. # of Erroneous Msg. !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
! Sequence # !
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
说明:
当收到的 EGP 消息校验和有误,或其某个字段的值不正确时,将发送 EGP 错误消息作为响应。
EGP Version #(EGP 版本号)
1
Type(类型)
8
Code(代码)
0
Checksum(校验和)
EGP 校验和是对 EGP 消息(从 EGP 版本号字段开始)的反码和再取 16 位反码。计算校验和时,校验和字段应为零。
Autonomous System #(自治系统号)
这个 16 位数字标识包含本消息源网关的自治系统。
Sequence Number(序列号)
由发送该错误消息的网关分配的序列号。
Error Type(错误类型)
出错的 EGP 消息的类型(Type)。
Error Code(错误代码)
出错的 EGP 消息的代码(Code)。
Identification number of erroneous message(出错消息的标识号)
出错的 EGP 消息的序列号(Sequence number)。
Reason(原因)
EGP 消息出错的原因。定义了以下原因:
0 - unspecified
1 - Bad EGP checksum
2 - Bad IP Source address in NR Poll or Response
3 - Undefined EGP Type or Code
4 - Received poll from non-neighbor
5 - Received excess unsolicted NR message
6 - Received excess poll
7 - Erroneous counts in received NR message
8 - No response received to NR poll
9 - Not all fragments of NR message received