[j-nsp] OSPF Multiple Instances

Marcin Garstka marcinga at man.poznan.pl
Mon Feb 25 10:25:05 EST 2008


Hi Alaerte,
The import-rib command will always import routes to all the routing 
tables listed in the brackets. The source of the routes is a routing 
protocol so the routes are imported from a routing protocol to 
multiple routing tables, not from one routing table to another one.
The order of the routing tables is not important. The only important 
factor here is that the default routing table for the protocol from 
which routes are imported must be listed first. Usually it is inet.0.
The source of the routes is a routing protocol to which the rib-group 
is applied.

If you apply a rib-group to protocol OSPF, all OSPF routes will be 
placed in all the tables listed. The first table must be inet.0 as 
the default OSPF routing table.
An example:
[protocol ospf]
rib-group Group

[routing-options]
rib-groups {
   Group {
       import-rib [ inet.0 other-table.inet.0 ]
             }
       }

Best regards
Marcin




At 18:27 2008-02-22, alaerte vidali wrote:
>Hi,
>
>Regarding example in Juniper page about configuring multiple OSPF instances.
>Is there any typo and how to place routes from voice-policy.inet.0 into
>inet.0 and vice-versa?
>
>I mean, the same command is used for both (with exception that
>other-policy.inet.0 is also added).
>
>import-rib [ inet.0 voice-policy.inet.0 other-policy.inet.0 ];
>import-rib [ inet.0 voice-policy.inet.0 ];
>
>Here is the example:
>
>"Configure the routing table group inet_to_voice_and_others to take routes
>from inet.0
>(default routing table) and place them in the voice-policy.inet.0 and
>other-policy.inet.0
>routing tables:
>[edit]
>routing-options {
>rib-groups {
>inet_to_voice_and_other {
>import-rib [ inet.0 voice-policy.inet.0 other-policy.inet.0 ];
>}
>}
>}
>Configure the routing table group voice_to_inet to take routes from
>voice-policy.inet.0
>and place them in the inet.0 default routing table:
>[edit]
>routing-options {
>rib-groups {
>voice_to_inet {
>import-rib [ inet.0 voice-policy.inet.0 ];
>}
>}
>}
>Configure the routing table group other_to_inet to take routes from
>other-policy.inet.0
>and place them in the inet.0 default routing table:
>[edit]
>routing-options {
>rib-groups {
>other_to_inet {
>import-rib [ inet.0 other-policy.inet.0 ];
>}
>}
>}"
>
>
>
>tks,
>Alaerte
>_______________________________________________
>juniper-nsp mailing list juniper-nsp at puck.nether.net
>https://puck.nether.net/mailman/listinfo/juniper-nsp

Poznanskie Centrum Superkomputerowo-Sieciowe
Poznan Supercomputing and Networking Center 



More information about the juniper-nsp mailing list