- 在线时间
 - 558 小时
 - 最后登录
 - 2024-7-26
 - 威望
 - 99 
 - 金钱
 - 68414 
 - 贡献
 - 661 
 - 注册时间
 - 2011-1-20
 - 阅读权限
 - 200
 - 主题
 - 641
 - 帖子
 - 1221
 - 分享
 - 5
 - 精华
 - 9
 - 积分
 - 70539
 - 相册
 - 21
  
 
 
 
   
 | 
fengyijiu008 发表于 2015-5-11 12:54 ![]()  
recovery=250  不知有没有特殊的含义 ,没查出来!多谢指教!  
帮你查了下规范,如下: 
Across GTP-C based interfaces an SGSN, GGSN, MME, SGW, PGW and ePDG utilize either GTPv1-C or GTPv2-C Echo Request and Echo Response messages or GTP-C messages containing the Recovery Information Element to detect and handle a restart. 
A GTP-C entity shall maintain two Restart counters: 
-         in volatile memory a remote Restart counter of a peer with which the entity is in contact; 
-        in non-volatile memory own, or local Restart counter that was sent to a peer. 
After a GTP-C entity has restarted, it shall immediately increment all local Restart counters and shall clear all remote Restart counters.  
A GTP-C entity may have a common local Restart counter for all peers, or it may have a separate local Restart counter for each peer. 
A GTP-C entity may probe the liveliness of each peer with which it is in contact by sending an Echo Request message (see clause 20 "Path management procedures") . The presence of the Restart counter in Echo Request or in a GTP-C message depends on the GTP-C version and therefore is specified in 3GPP TS 29.060 [8] and 3GPP TS 29.274 [13], respectively. 
The GTP-C entity that receives a Recovery Information Element in an Echo Response or in another GTP-C message from a peer, shall compare the received remote Restart counter value with the previous Restart counter value stored for that peer entity.  
-        If no previous value was stored the Restart counter value received in the Echo Response or in the GTP-C message shall be stored for the peer. 
-        If the value of a Restart counter previously stored for a peer is smaller than the Restart counter value received in the Echo Response message or the GTP-C message, taking the integer roll-over into account, this indicates that the entity that sent the Echo Response or the GTP-C message has restarted. The received, new Restart counter value shall be stored by the receiving entity, replacing the value previously stored for the peer. 
-        If the value of a Restart counter previously stored for a peer is larger than the Restart counter value received in the Echo Response message or the GTP-C message, taking the integer roll-over into account, this indicates a possible race condition (newer message arriving before the older one). The received new Restart counter value shall be discarded and an error may be logged. 
 
翻译过来就是, 
一个GTP-C的网元需要维护两个restart counter,一个是对端的,一个是自己的。当自己发生重启,将把本地restart counter值+1,然后发给对方。 
对方如何处理呢? 
- 每次受到echo response消息里的restart counter值(假设是值1)都保存下来,存到本地,然后后续还会继续受到GTP-C消息里的restart counter(假设值1)和进行比对,如果值1大于本地保存的值2,则判断出来对方发生了重启。 
 |   
 
  
 |