SRX OSPF in routing-instance troubleshooting


no stat received
Hello Rx = 0
nothingreceived
root@srx3200> show ospf statistics instance vr-21

Packet type             Total                  Last 5 seconds
                   Sent      Received        Sent      Received
   Hello           1473             0           1             0
     DbD              0             0           0             0
   LSReq              0             0           0             0
LSUpdate              0             0           0             0
   LSAck              0             0           0             0

DBDs retransmitted     :                    0, last 5 seconds :          0
LSAs flooded           :                    0, last 5 seconds :          0
LSAs flooded high-prio :                    0, last 5 seconds :          0
LSAs retransmitted     :                    0, last 5 seconds :          0
LSAs transmitted to nbr:                    0, last 5 seconds :          0
LSAs requested         :                    0, last 5 seconds :          0
LSAs acknowledged      :                    0, last 5 seconds :          0

Flood queue depth      :               0
Total rexmit entries   :               0
db summaries           :               0
lsreq entries          :               0

Receive errors:
  None

root@srx3200>

SolutionCheck the security Zone
add protocol = ospf ( or all )
protocol
root@srx3200> show configuration security zones security-zone vr-21
host-inbound-traffic {
    system-services {
        any-service;
    }
    protocols {  <<<<< added this one
        all;
    }
}
interfaces {
    ge-0/0/3.21;
    lo0.21;
}


other erros
netmask mismatches
mistmatch
root@srx3200> show ospf statistics instance vr-21

Packet type             Total                  Last 5 seconds
                   Sent      Received        Sent      Received
   Hello           1490             7           0             0
     DbD              0             0           0             0
   LSReq              0             0           0             0
LSUpdate              0             0           0             0
   LSAck              0             0           0             0

DBDs retransmitted     :                    0, last 5 seconds :          0
LSAs flooded           :                    0, last 5 seconds :          0
LSAs flooded high-prio :                    0, last 5 seconds :          0
LSAs retransmitted     :                    0, last 5 seconds :          0
LSAs transmitted to nbr:                    0, last 5 seconds :          0
LSAs requested         :                    0, last 5 seconds :          0
LSAs acknowledged      :                    0, last 5 seconds :          0

Flood queue depth      :               0
Total rexmit entries   :               0
db summaries           :               0
lsreq entries          :               0

Receive errors:
  7 netmask mismatches  <<<<<<<<< issue with the config