S9300交换机网络割接时出现路由振荡

发布时间:  2014-09-12 浏览次数:  246 下载次数:  0
问题描述
客户二级单位局域网在做设备替换割接时,把我司设备S9300线路正确连接,数据配置完成后,发现全网路由出现振荡。拓扑结构如下图所示:
告警信息
[DS_01]
Jun 17 2012 11:19:59-08:00 DS_01 %%01OSPF/4/NBR_CHANGE_E(l)[36]:Neighbor changes event: neighbor status changed. (ProcessId=1, NeighborAddress=10.1.20.2, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborC
处理过程
1、拔掉S9300跟老CS_01的互联线路
2、观察ospf邻居状态:
[DS_01]dis ospf peer

  OSPF Process 1 with Router ID 10.1.0.254
   Neighbors

Area 0.0.0.0 interface 10.1.1.1(Vlanif10)'s neighbors
Router ID: 10.1.1.2         Address: 10.1.1.2       
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 10.1.1.2  BDR: 10.1.1.1  MTU: 0   
   Dead timer due in 29  sec
   Retrans timer interval: 5
   Neighbor is up for 00:11:52    
   Authentication Sequence: [ 0 ]

   Neighbors

Area 0.0.0.1 interface 10.1.20.1(Vlanif20)'s neighbors
Router ID: 10.1.0.252       Address: 10.1.20.2      
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 10.1.20.1  BDR: 10.1.20.2  MTU: 0   
   Dead timer due in 29  sec
   Retrans timer interval: 8
   Neighbor is up for 00:07:17    
   Authentication Sequence: [ 0 ]
3、观察路由表:
[DS_01]dis ip rout
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 11       Routes : 11      

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

     10.1.0.251/32  OSPF    10   2           D   10.1.1.2        Vlanif10
     10.1.0.252/32  OSPF    10   1           D   10.1.20.2       Vlanif20
     10.1.0.253/32  OSPF    10   1           D   10.1.1.2        Vlanif10
     10.1.0.254/32  Direct  0    0           D   127.0.0.1       LoopBack0
       10.1.1.0/24  Direct  0    0           D   10.1.1.1        Vlanif10
       10.1.1.1/32  Direct  0    0           D   127.0.0.1       Vlanif10
      10.1.20.0/24  Direct  0    0           D   10.1.20.1       Vlanif20
      10.1.20.1/32  Direct  0    0           D   127.0.0.1       Vlanif20
      10.1.30.0/24  OSPF    10   2           D   10.1.1.2        Vlanif10
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
4、路由测试正常,业务恢复正常
根因
1、查看在S9300上查看ospf邻居状态:
[DS_01]dis ospf peer

  OSPF Process 1 with Router ID 10.1.0.254
   Neighbors

Area 0.0.0.0 interface 10.1.1.1(Vlanif10)'s neighbors
Router ID: 10.1.1.2         Address: 10.1.1.2       
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 10.1.1.2  BDR: 10.1.1.1  MTU: 0   
   Dead timer due in 28  sec
   Retrans timer interval: 5
   Neighbor is up for 00:04:45    
   Authentication Sequence: [ 0 ]

   Neighbors

Area 0.0.0.1 interface 10.1.20.1(Vlanif20)'s neighbors
Router ID: 10.1.0.252       Address: 10.1.20.2      
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 10.1.20.1  BDR: 10.1.20.2  MTU: 0   
   Dead timer due in 36  sec
   Retrans timer interval: 5
   Neighbor is up for 00:00:10    
   Authentication Sequence: [ 0 ]

   Neighbors

Area 0.0.0.1 interface 10.1.10.1(Vlanif100)'s neighbors
Router ID: 10.1.0.252       Address: 10.1.10.2      
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 10.1.10.2  BDR: 10.1.10.1  MTU: 0   
   Dead timer due in 28  sec
   Retrans timer interval: 5
   Neighbor is up for 00:01:14    
   Authentication Sequence: [ 0 ]
2、发现9300跟老CS_01邻居状态依然存在,查看9300跟老CS_01的互联接口,未执行shutdown(或者物理线路没有拔掉),就把新设备接入现网造成router id冲突,引起全网路由振荡。
建议与总结
在做网络割接时,要严格按照割接步骤和流程进行,不按照割接步骤规范操作,会引起网络故障对业务造成影响。

END