[j-nsp] OSPF Neighbor doesn't recover automatically

h-tsuji at zg.jp.nec.com h-tsuji at zg.jp.nec.com
Wed Apr 25 06:57:45 EDT 2007


Hi dear all, I found something wrong with OSPF neighbor establishment.
OSPF network type is p2mp.
After make neighbore down and then recover the link, never established to Full state.
the remote M10i is always "init" state.

so I tried issue the "restart routing" command, then established OSPF neigbore Full.
also it's able to be recover this command action "commit" with some changing with configuration.

Is there anyone know this phenomenone?

below I attached the logg.

Tks.

[Version]

Hostname: M10i
Model: m10i
JUNOS Base OS boot [8.2R1.7]
JUNOS Base OS Software Suite [8.2R1.7]
JUNOS Kernel Software Suite [8.2R1.7]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.2R1.7]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [8.2R1.7]
JUNOS Online Documentation [8.2R1.7]
JUNOS Routing Software Suite [8.2R1.7]

[Network]

         Spoke_site                                       Hub_site
 [PC]--[M10i ATMpic]------[ATMswitch]---[ATMswitch]-----[M10i ATMpic]
       172.17.20.27                                      172.17.20.23

[log]

## traceoption flag hello detail log under condition of OSPF Full state ##

root at M10i> Apr 25 15:31:20.879205 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
Apr 25 15:31:22.017660 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   113

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   111

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   109

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   106

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   103

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   100

root at M10i> Apr 25 15:31:43.740616 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
Apr 25 15:31:43.752283 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   118

root at M10i> Apr 25 15:31:45.910287 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   113

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   109

root at M10i> Apr 25 15:32:07.319174 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
Apr 25 15:32:09.041092 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   103

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0    99

root at M10i> Apr 25 15:32:34.250256 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
Apr 25 15:32:35.772069 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0    96

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   119

root at M10i> Apr 25 15:32:59.781130 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   117

root at M10i> Apr 25 15:33:04.303122 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   119

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   118

root at M10i> 

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   116

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   115

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   114

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   113

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   112

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   111

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   109

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   108

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   106

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   105

root at M10i> Apr 25 15:33:07.004626 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
Apr 25 15:33:07.005057 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   102

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   101

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0    98

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   115

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   113

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   108

root at M10i> Apr 25 15:33:29.125041 OSPF rcvd Hello 172.17.20.23 -> 172.17.20.27 (at-0/0/0.3, IFL 0x41)
Apr 25 15:33:36.414407 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)


## After disconnect ATM PVC line ###

root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0    81

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0    79

root at M10i> Apr 25 15:41:04.931184 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
Apr 25 15:41:31.742219 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
Apr 25 15:42:01.473350 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0     0

root at M10i> Apr 25 15:42:20.584443 RPD_OSPF_NBRDOWN: OSPF neighbor 172.17.20.23 (at-0/0/0.3) state changed from Full to Down due to InActiveTimer (event reason: neighbor was inactive and declared dead)
Apr 25 15:42:20.584951 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
root at M10i> show ospf neighbor | match 172.17.20.23    Apr 25 15:42:20.585702 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
root at M10i> show ospf neighbor                        
  Address         Interface             State      ID              Pri  Dead
172.17.20.123    at-0/0/0.3             Full      172.17.10.123      0     4
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0     0

### OSPF neigbor state is down but Hello packet sending every 30 seconds. WHY? ###

root at M10i> edit                                      root at M10i> show route    root at M10i> show ospf database detail    root at M10i> show ospf database          root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   110

root at M10i> Apr 25 15:54:42.337563 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
Apr 25 15:54:51.422110 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
Apr 25 15:55:07.068452 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   111

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   109

root at M10i> Apr 25 15:55:16.583064 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   103

root at M10i> Apr 25 15:55:30.109365 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   114

root at M10i> root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   111

root at M10i> Apr 25 15:55:40.333949 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0   106


### Chenged configuration ###

[edit protocols ospf traceoptions]
root at M10i# show 
file Hello;
flag hello detail;

[edit protocols ospf traceoptions]
root at M10i# se      delete file Hello 

[edit protocols ospf traceoptions]
root at M10i# set file Hello 

[edit protocols ospf traceoptions]
root at M10i# commit 
commit complete

[edit protocols ospf traceoptions]
root at M10i# Apr 25 15:56:25.012232 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
Apr 25 15:56:26.401101 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
Apr 25 15:56:26.401651 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)


[edit protocols ospf traceoptions]
root at M10i# root at M10i# commit    root at M10i# set file Hello                                                 exit 

[edit]
root at M10i# exit 
Exiting configuration mode

root at M10i> root at M10i> edit    root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Down      172.17.10.23       0    93


### OOOps! OSPF packet working! going to Neighbor establishment! ###

root at M10i> Apr 25 15:56:52.256633 OSPF periodic xmit from 172.17.20.27 to 172.17.20.23 (IFL 65)
Apr 25 15:56:53.122304 OSPF rcvd Hello 172.17.20.23 -> 172.17.20.27 (at-0/0/0.3, IFL 0x41)
Apr 25 15:56:53.122683 RPD_OSPF_NBRUP: OSPF neighbor 172.17.20.23 (at-0/0/0.3) state changed from Init to ExStart due to 2WayRcvd (event reason: neighbor detected this router)
Apr 25 15:56:53.122963 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
Apr 25 15:56:53.123650 OSPF sent Hello 172.17.20.27 -> 172.17.20.23 (at-0/0/0.3, IFL 0x41)
Apr 25 15:56:53.126193 OSPF hello from 172.17.20.23 (IFL 65, transit area 0.0.0.0) absorbed
Apr 25 15:56:53.272714 RPD_OSPF_NBRUP: OSPF neighbor 172.17.20.23 (at-0/0/0.3) state changed from Exchange to Full due to ExchangeDone (event reason: DBD exchange of master completed)
root at M10i> show ospf neighbor | match 172.17.20.23    
172.17.20.23     at-0/0/0.3             Full      172.17.10.23       0   113




More information about the juniper-nsp mailing list