[j-nsp] [ERX] BGP route redistribution into OSPF

Guillet, David (David) dguillet at lucent.com
Tue Oct 31 09:47:58 EST 2006


OK I found my mistake, the bgp routes were learn through and IBGP
session so I had to enable the bgp redistribute-internal command

Regards

David

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-
> bounces at puck.nether.net] On Behalf Of Guillet, David (David)
> Sent: mardi 31 octobre 2006 15:20
> To: juniper-nsp at puck.nether.net
> Subject: [j-nsp] [ERX] BGP route redistribution into OSPF
> 
> 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
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list