[j-nsp] [ERX] BGP route redistribution into OSPF
Guillet, David (David)
dguillet at lucent.com
Tue Oct 31 09:19:59 EST 2006
Hi,
I'm trying to redistribute BGP routes into OSPF (I know it's
wroing ;o) ) but I have to ;o)
So here is how I do that :
access-list "routes-to-import" permit ip address1 wildmask1 any
access-list "routes-to-import" permit ip address2 wildmask2 any
route-map "ospf-redistribute" permit 10
match ip address "routes-to-import"
set metric-type external
set metric 4343
router ospf 1
address ip_address area 0.0.0.0
redistribute bgp route-map ospf-redistribute
When I verify the access list I can see that there are some matches :
IP Access List routes-to-import:
permit ip address1 wildmask1 any (6 Matches) check=6
permit ip address2 wildmask2 any (6 Matches) check=6
Looking at the logs for IP policy I can see that the policy route is
applied :
INFO 10/31/2006 15:21:06 ipRoutePolicy (my_router): Policy check: start
on route-map ospf-redistribute seq 10 match-clause...
INFO 10/31/2006 15:21:06 ipRoutePolicy (my_router): Policy check passed:
route-map ospf-redistribute match access-list
INFO 10/31/2006 15:21:06 ipRoutePolicy (my_router): Policy check passed:
route-map ospf-redistribute seq 10 match-clauses
INFO 10/31/2006 15:21:06 ipRoutePolicy (my_router): Policy check: start
on route-map ospf-redistribute seq 10 match-clause...
INFO 10/31/2006 15:21:06 ipRoutePolicy (my_router): Policy check passed:
route-map ospf-redistribute match access-list
INFO 10/31/2006 15:21:06 ipRoutePolicy (my_router): Policy check passed:
route-map ospf-redistribute seq 10 match-clauses
I'm not sure I did anything wrong in my configuration. Any advice out
there ?
Regards,
David
More information about the juniper-nsp
mailing list