Routing
Routing

OSPF routing policy

12.03.09   |  
‎12-03-2009 12:30 PM

Hello,

I'm trying to define an import routing policy, in OSPF. This policy must set a metric on tagged received routes.

policy-statement TEST {
 from {
 protocol ospf;
 tag 300;
}
then  {
 metric 200;
 accept;
}

 

So, I would like to adjust the metrics only for the local router. I thought the "import" keyword affects routes when they are inserted from OSPF table to routing table.

Note that my routes are "external" (they come from a redistribution on the other router), and that I work inside a 'virtual-router' routing instance.

 

Then, I call this policy in import, inside my ospf configuration.

But the metric doesn't change in my routing table. However, I still see the tag. Any idea? Maybe an upgrade?

(I run JunOS 9.5R3.7 on J6350).

Thks.

2 REPLIES
Routing

Re: OSPF routing policy

12.04.09   |  
‎12-04-2009 03:56 AM

Hi there,

I wonder if you reset your OSPF adjacency after configuring import policy?

Rgds

Alex

_____________________________________________________________________

Please ask Your Juniper account team about Juniper Professional Services offerings.
Juniper PS can design, test & build the network/part of the network as per Your requirements

+++++++++++++++++++++++++++++++++++++++++++++

Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Routing

Re: OSPF routing policy

12.04.09   |  
‎12-04-2009 01:06 PM

Hi,

 

Yes, I've restarted the routing process.