H3C S9500交换机RIP路由故障问题处理方法
一、故障处理流程
图1 RIP故障处理流程
二、故障处理步骤
1)步骤1
使用display interface Vlan-interface确认运行RIP的接口状态UP,且能够ping通对端接口地址。如果确认接口正常,请转步骤2。
2)步骤2
使用display rip命令查看RIP的协议配置,当前运行的版本号。使用display current-configuration configuration rip查看全局和接口下的RIP配置是否有误。如果确定配置正确,请转步骤3。
[S9500]display rip
RIP is running
public net VPN-Instance
Checkzero is on Default cost : 1
Summary is on Preference : 100
Traffic-share is off
Period update timer : 30
Timeout timer : 180
Garbage-collection timer : 120
No peer router
Network :
50.0.0.0
------------------------------------------------------
RIP Interface(s):
Interface IP Address Version Mode
Vlan-interface50 50.50.50.50 1 broadcast
[S9500]display current-configuration configuration rip
#
rip
network 3.0.0.0
import-route direct
#
return
3)步骤3
使用命令display ip routing-table protocol rip确认需要的RIP路由是否学习正确。如果路由学习正确,请直接转步骤7。如果路由学习不正确,请转步骤4。
[S9500]display ip routing-table protocol rip
RIP Routing tables:
Summary count: 2
RIP Routing table status:<active>:
Summary count: 2
Destination/Mask Protocol Pre Cost Nexthop Interface
31.0.0.0/8 RIP 100 1 3.3.3.2 Vlan-interface3000
172.2.0.0/16 RIP 100 1 3.3.3.2 Vlan-interface3000
RIP Routing table status:<inactive>:
Summary count: 0
4)步骤4
如果路由表中的路由不符合预期,打开RIP的调试诊断命令,观察RIP协议报文的接收、发送情况。RIP报文收发正常,请直接转步骤8。如果RIP报文收发不正常,请转步骤5。
<S9500>terminal debugging
<S9500>terminal monitor
<S9500>debugging rip packet
<S9500>debugging rip receive
<S9500>debugging rip send
*0.1484257 S9500 RM/7/RTDBG: RIP INSTANCE public vpn-instance
RIP: Receive Response from 3.3.3.2 via Vlan-interface3000(255.255.255.255)
Packet:vers 1, cmd Response, length 44
dest 31.0.0.0 , metric 1, tag 0
dest 172.2.0.0 , metric 1, tag 0
*0.1492237 S9500 RM/7/RTDBG: RIP INSTANCE public vpn-instance
RIP: send from 3.3.3.1(Vlan-interface3000) to 255.255.255.255
Packet:vers 1, cmd Response, length 24
dest 10.0.0.0 , metric 1, tag 0
5)步骤5
RIP报文收发不正常,需要检查两台设备对接端口的配置信息,确定端口的PVID,允许通过的VLAN是否正确,确定端口是否配置dot1x,确认端口STP状态是否正确,确认端口是否配置ACL过滤规则。对于RIP2版本需要确认是否配置undo summary,默认只发布汇总路由。如果确认配置信息正确,请转步骤6。
6)步骤6
确认是否配置路由策略,如果没有配置相应的路由策略,请转步骤7。
7)步骤7
如果路由正确,抓包分析业务流是否已经进入交换机并且从出端口转发出去。如果业务流进入交换机并且没有转发出去,请转步骤8。
如果路由不正确,入端口抓包分析确定RIP协议报文是否到达交换机。如果RIP报文已经到达交换机,请转步骤8。否则,请检查对端设备。
8)步骤8
上述步骤无法定位问题,请联系800进一步处理。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作