[Xorp-hackers] ospf4 and ospf6 can not apply export policy at the same time

Li Zhao lizhaous2000 at yahoo.com
Fri Dec 4 07:39:59 PST 2009


I do not know how to report to Trac ticket yet. But my config is like this:

1. create a policy like "static-to-ospf" { from { protocol static} then { accept} }.

2. apply to ospf4 by " protocol ospf4 export static-ospf " I can use "show ospf4 database" see these ipv4 external LSAs related to ipv4 static routes.

3. then apply to ospf6 via "protocol ospf6 0 export static-to-ospf", "show 
ospf6 database" looks fine. But "show ospf4 databse" will not show previous
ipv4 extrenal LSAs, even if I use different policy names that does not help.

4. if i remove policy from ospf6 "delete protocol ospf6 export". The ipv4 external LSAs are coiming back automatically.

I am going though the ospf and policy codes to see why?

LZ
--- On Thu, 12/3/09, Bruce Simpson <bms at incunabulum.net> wrote:

> From: Bruce Simpson <bms at incunabulum.net>
> Subject: Re: [Xorp-hackers] ospf4 and ospf6 can not apply export policy at the same time
> To: "Li Zhao" <lizhaous2000 at yahoo.com>
> Cc: xorp-hackers at xorp.org
> Date: Thursday, December 3, 2009, 4:04 PM
> Li Zhao wrote:
> > I noticed that if both ospf4 and ospf6 redistribute
> static routes, ospf4 will fail to redistribute static
> routes. This is a bug.
> >   
> 
> I can't see anything obvious in the OSPF code in trunk
> which could cause this condition.
> 
> Can you please append the XORP configuration with which you
> observed this condition to the Trac ticket?
> 
> thanks,
> BMS
> 


      



More information about the Xorp-hackers mailing list