Routing
Reply
Contributor
NESG
Posts: 15
Registered: ‎01-07-2009
0

Multiple OSPF process in MX80

Hi,

 

Am planning to implement a setup with multiple ospf process in MX80 router.

I have already created one ospf process with ID#10 on this router.

I want to create new process with ID#20 with area-nssa and import the routes into inet.0 and also redistribute the routes IBGP to advertise the routes to other router.

Hope we can configure new process ID#20 creating routing instance and define domain-id #20.

Can anyone share me configuration for this above requirement.

Also pls tell me can i create this new process when am already running normal ospf process in this router??

 

Thanks in advance...

Super Contributor
ronf
Posts: 217
Registered: ‎04-04-2011
0

Re: Multiple OSPF process in MX80

In JunOS, you don't really create separate OSPF processes the way you do in Cisco. You would create a seperate routing-instance of type virtual-router, and configure OSPF in there. Then you would use route import and export statements, or a rib-group to exchange routes among the various routing-instances as appropriate. Ron
JNCIE-SEC #127
Trusted Contributor
acecanal
Posts: 149
Registered: ‎07-05-2011
0

Re: Multiple OSPF process in MX80

 

  Hi Nesg, look at the following post about multiple ospf process. This is a translation example from a Cisco configuration to a Juniper configuration. This works, i test this in lab.

  There is other post that also ask about how to configure two ospf process. 

 

http://forums.juniper.net/t5/IOS-to-Junos-I2J-Tips​-Contest/Multiple-OSPF-instances/td-p/137233

Br
Alex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you want to say thanks, the word is Kudos!!.

Thx.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

JNCIA-JUNOS, JNCIS-ENT, JNCIS-SP, JNCIP-SP.
CCNA, CCNP, Written CCIE.
Contributor
NESG
Posts: 15
Registered: ‎01-07-2009
0

Re: Multiple OSPF process in MX80

Hi Alex, thanks for your response... i have already running OSPF process 10  in MX80 router.  Can we create a new routing instance for new process#20 and import the rib to inet.0 ??

 

Thanks in advance.

 

 

Trusted Contributor
acecanal
Posts: 149
Registered: ‎07-05-2011
0

Re: Multiple OSPF process in MX80

 

  Of course you could, but as Ron saids, you are not configuring process. If you want to keep the ID#10 for your better understanding, ok, no problem, but under JunOS thats only a name.

 

   But you have to understand what are you doing, you are not creating ospf process, you are creating several routing tables, so are going to share routing information between them.

 

  I suppose your current ospf ID#10 is a virtual router, if not there is no way to configure this name.

 

  How you have to configure this, depends on what you want to do, mutual redistribution from 10 to 20, mutual to inet.0, etc.

 

  Share routing information between ID10 and 20. Like 2 routing process, two routing tables that share information.

 

routing-options {
    rib-groups {
        ID#10{
            import-rib [ ID#10.inet.0 ID#20.inet.0 ];
        }
        ID#20 {
            import-rib [ ID#20.inet.0 ID#10.inet.0 ];
        }
    }
}

 

 

 

routing-instances {
    ID#10 {

 instance-type virtual-router;

 protocols { 
     ospf {

         rib-group ID#10

}

 

routing-instances {
    ID#20 {

 instance-type virtual-router;

 protocols { 
     ospf {

         rib-group ID#20

}

 

 

 

  Share routing information from ID10 and 20 to inet.0, and from inet.0 to ID10 and ID20, no share between ID10 and 20. Three routing process, three routing tables but id20 dont "see" id10 routes and viceversa.

 

routing-options {
    rib-groups {
        ID#10{
            import-rib [ ID#10.inet.0 inet.0 ];
        }
        ID#20 {
            import-rib [ ID#20.inet.0 inet.0 ];
        }

        inet.0 {
            import-rib [ inet.0 ID#10.inet.0 ID#20.inet.0 ];
        }

    }
}

 

 

 

routing-instances {
    ID#10 {

         instance-type virtual-router;

         protocols { 
         ospf {

             rib-group ID#10

          }

        }

   }

}

 

 

routing-instances {
    ID#20 {

       instance-type virtual-router;

         protocols { 
           ospf {

            rib-group ID#20

           }

        }

   }

}

 

 

/* this is the "global" or inet.0 ospf process. */

 

 protocols { 
     ospf {

.............

.............

............

}

Br
Alex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you want to say thanks, the word is Kudos!!.

Thx.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

JNCIA-JUNOS, JNCIS-ENT, JNCIS-SP, JNCIP-SP.
CCNA, CCNP, Written CCIE.
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.