Routing
Highlighted
Routing

SRX routing-instance virtual-router OSPF

[ Edited ]
‎10-29-2009 01:41 PM

I am simply trying to exchange OSPF routers between a cisco and a Juniper SRX.

 

I am sure i am missing something small, i am very new to Junos,  any help is much appreciated

 

 

s24-admin# run show interfaces terse | match inet

ge-0/0/0.0              up    up   inet     10.211.56.16/24

ge-0/0/1.200            up    up   inet     10.10.2.2/24

ge-0/0/3.0              up    up   inet     10.7.7.1/24

lo0.99                  up    up   inet     3.3.3.1/24

lo0.100                 up    up   inet     10.8.8.1/24

lo0.16384               up    up   inet     127.0.0.1           --> 0/0

lo0.16385               up    up   inet     10.0.0.1            --> 0/0

                                   inet6    fe80::226:88ff:fe12:2b80


s24-admin# show policy-options policy-statement ospf_vrf1
term 1 {
    from {
        instance VRF-OSPF1;
        protocol static;
    }
    then accept;
}

 

 

 

s24-admin# show routing-instances

VRF-OSPF1 {

    instance-type virtual-router;

    interface ge-0/0/1.200;

    interface ge-0/0/3.0;

    interface lo0.100;

    routing-options {

        static {

            route 10.10.5.0/24 next-hop 10.7.7.2;

        }

    }

protocols {
    ospf {
        export ospf_vrf1;
        area 0.0.0.20 {
            interface ge-0/0/3.0;
            interface ge-0/0/1.200;
        }
    }
}

On my cisco i get no routes.

I can see my neighbor on the cisco but not on the juniper

CISCO:
RSW50LAB# sh ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface
10.8.8.1        128   INIT/DROTHER    00:00:39    10.10.2.2       Vlan200


SRX:
s24-admin# run show ospf neighbor instance VRF-OSPF1

[edit]
s24-admin#



 

5 REPLIES 5
Highlighted
Routing

Re: SRX routing-instance virtual-router OSPF

‎10-29-2009 03:18 PM

You have to accept ospf on interface or zone level in secuirty stanza on srx.

 

set security zones security-zone [name] hostinbound traffic protocol ospf (or something like this). Did you do that? It's not in your shown config.

best regards,

Screenie.
Juniper Ambassador, Instructor,JNCIP
If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Highlighted
Routing

Re: SRX routing-instance virtual-router OSPF

‎10-30-2009 08:09 AM

Worked great!

 

Thank YOU!

Highlighted
Routing

Re: SRX routing-instance virtual-router OSPF

‎11-01-2009 04:17 AM

You're wellcome!

best regards,

Screenie.
Juniper Ambassador, Instructor,JNCIP
If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Highlighted
Routing

Re: SRX routing-instance virtual-router OSPF

‎11-13-2016 05:13 AM

It works

Highlighted
Routing

Re: SRX routing-instance virtual-router OSPF

‎11-15-2016 07:42 PM
mark it as resolved and send him some kudosSmiley Happy
[KUDOS PLEASE! If you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]