S7700学习对端设备直连路由时有时无

发布时间:  2016-08-08 浏览次数:  267 下载次数:  0
问题描述
S7700NE20E建立RIP V2的邻居,S7700学习NE20E的直连网段路由时有时无
处理过程

S7706在某些瞬间能从NE20E学到路由,但是很快又会切换成不正确的路由;

1) S7706设备观察相关路由处理debug信息,发现多数时间没有收到期待的路由更新,而只收到cost 3cost4的路由更新

[7700-acl-basic-2001]rule  1 permit  source  10.250.102.64 0

[7700-acl-basic-2001]q

<7700>debugging  rip 1 receive route  2001

<S7700>t d

Info: Current terminal debugging is on.

<S7700> t m

Info: Current terminal monitor is on.

<S7700>

Apr 29 2016 16:39:38.590.1 S7700 RIP/7/DBG: 6: 14508: Dest 10.250.102.64/

30, Nexthop 0.0.0.0, Cost 4, Tag 1

<S7700>

Apr 29 2016 16:39:43.550.1 S7700 RIP/7/DBG: 6: 14508: Dest 10.250.102.64/

30, Nexthop 0.0.0.0, Cost 3, Tag 1  /

 

 

 

2) S7706上抓包发现,NE20E的路由更新信息已经发过来了;

cid:image004.png@01D1B5DD.966B4F70

2.2 查看S7706路由协议报文上送有无异常:

   观察到S7706上送通道rip协议报文上送存在丢弃情况(超过了设置的默认带宽)

<S7700>display  cpu-defend statistics slot  3    

 Statistics on slot 3:

-------------------------------------------------------------------------------

Packet Type         Pass(Bytes)  Drop(Bytes)   Pass(Packets)   Drop(Packets)

-------------------------------------------------------------------------------

 

rip     2980483576    200767926         5589938          384117

-------------------------------------------------------------------------------

<S7700>display  cpu-defend statistics slot  3

 Statistics on slot 3:

-------------------------------------------------------------------------------

Packet Type         Pass(Bytes)  Drop(Bytes)   Pass(Packets)   Drop(Packets)

-------------------------------------------------------------------------------

rip    2980519326    200773146         5590003          384127

-------------------------------------------------------------------------------

 

 

1.3  调整rip协议报文上送的处理的阀值:

调整S7706 rip协议报文上送带宽值(调高至512kbps),路由协议正常,经过一段时间观察,未再发生故障;

配置方法

 

[S7700]cpu-defend policy  test

[S7700-cpu-defend-policy-test]car packet-type  rip cir 512

Warning: Improper parameter settings may affect stable operating of the system. Use this command under assistance of Huawei engineers. Continue? [Y/N]:y

[S7700-cpu-defend-policy-test]q

[S7700]slot  1 

[S7700-slot-1]cpu-defend-policy  test  (slot3调用)

配置完成以后

[S7700]display  cpu-defend  configuration ?

  all          CPCAR information of all boards

  mcu          CPCAR information of main board

  packet-type  Packet Type

  slot         Specify the slot number

 

[S7700]display  cpu-defend  configuration slo

[S7700]display  cpu-defend  configuration slot  3

Car configurations on slot 3.

----------------------------------------------------------------------

Packet Name         Status     Cir(Kbps)   Cbs(Byte)  Queue  Port-Type

----------------------------------------------------------------------

8021x               Enabled          256       32000      3        N/A

rip                 Disabled         512       96256      5        NNI  

 

然后 

[S7700]display  cpu-defend  statistics  slot  3   每隔10秒进行查看RIP 丢包有没有增长

经查看没有增长

根因
S7706设备收到的rip协议报文速率超过默认上送CPU带宽值,造成部分rip报文丢弃
解决方案
根据网络实际情况,将S7706设备收到的rip协议报文速率带宽值调高为512kbps后,问题解决

END