Routing
Reply
Regular Visitor
fislam
Posts: 4
Registered: ‎12-02-2009
0

NSSA RIP TO OSPF REDISTRIBUTION

Hey Guys,

 

I'm trying to redistribute RIP routes to OSPF but i don't see any RIP routes being populated in OSPF.

 

Below is my config for OSPF and RIP.

protocols {
    ospf {
        export [ RIP_NEIGH ACCE_RIP ];
        area 0.0.0.2 {
            nssa;
            interface fe-0/0/0.127 {
                authentication {
                    md5 1 key "$9$CqIPpORXxdsYoreLN"; ## SECRET-DATA
                }  
            }
            interface fe-0/0/1.109 {    ( I WANT THE RIP ROUTES TO ACT LIKE INTERNAL OSPF ROUTES)
                passive;
            }
            interface lo0.0 {
                passive;
            }
        }
    }
    rip {
        group RIP_SERVERS {
            export [ RIP_NEIGH ACCE_RIP ];
            neighbor fe-0/0/1.109;

 

EXPORT POLICY CONFIG

 

policy-options {
    policy-statement ACCE_RIP {
        term 1 {
            from protocol rip;
            then accept;

 

    policy-statement RIP_NEIGH {
        term 1 {
            from protocol direct;
            then accept;.

 

I do see the RIP routes when I do show route protocol rip. I don't see them when i do show route protocol OSPF.

 

Any help would be appreciated.

Trusted Expert
Trusted Expert
jtb
Posts: 312
Registered: ‎08-26-2009
0

Re: NSSA RIP TO OSPF REDISTRIBUTION

Hello fislam,

 

- 'I do see the RIP routes' - please share the relevant output, 

- 'I don't see them when i do show route protocol OSPF' -  checking on the same router or another OSPF neighbor ? Try the later.

 

- 'I WANT THE RIP ROUTES TO ACT LIKE INTERNAL OSPF ROUTES' - well, we what 'passive' do for OSPF (fe-0/0/1.109 direct route included in router's LSA #1), but it's not relevant to RIP redistribution.

 

- show us the OSPF LSDB ('show ospf database' + 'show ip ospf data detail' for interesting LSAs or all if short)

jtb

Super Contributor
jwparks
Posts: 157
Registered: ‎04-20-2009
0

Re: NSSA RIP TO OSPF REDISTRIBUTION

RIP has a route preference of 100 and OSPF externals have a route preference of 150.  You will only see the RIP routes in the routing table.  The prefixes will exist in the OSPF LSDB though.  Change the preference for RIP to be something like 160 and you should be able to see the OSPF routes.

 

 

set protocols rip group blah preference 160 

 

 

Else, see JTB's post.

Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.