Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to redistribute BGP learnt default into OSPF

Status
Not open for further replies.

hankn

Technical User
Jul 26, 2006
2
IL
Kind of newbie question. I have a Nortel Passport that is learning a single BGP prefix - 0.0.0.0 as default. I want to inject that route into OSPF via redistribute. How can it be done? So far we haven't managed to get it to work.

thanks,
Hank
 
We run 3.7.8 on an 8600 and forget 0.0.0.0/0. I figured perhaps we have a cavaet with redistribution of default.

So I am now injecting a standard /15 from BGP into iBGP. The BGP net appears in the 'sho ip route show-all' output.
================================================================================
Ip Route
================================================================================
DST MASK NEXT COST VLAN PORT PROT AGE TYPE PRF
--------------------------------------------------------------------------------
67.16.0.0 255.254.0.0 10.102.201.250 1 201 -/- BGP 0 IB 175

But we can't seem to get the route from iBGP into OSPF. We have read and reread the Nortel doc and tried every possible permutation.

Here is a relevent extract:

ip prefix-list "DR" add-prefix 0.0.0.0/0 maskLenFrom 0 maskLenTo 0
ip prefix-list "DR" add-prefix 67.16.0.0/15 maskLenFrom 15 maskLenTo 15
ip route-policy "Default_OSPF" seq 1 create
ip route-policy "Default_OSPF" seq 1 enable
ip route-policy "Default_OSPF" seq 1 action permit
ip route-policy "Default_OSPF" seq 1 set-injectlist "DR"
ip route-policy "Default_OSPF" seq 1 set-metric 100
ip ospf admin-state enable
ip ospf as-boundary-router enable
ip ospf trap enable
ip ospf router-id 10.4.250.100
ip ospf enable
ip ospf redistribute static create
ip ospf redistribute static enable
ip ospf redistribute bgp create
ip ospf redistribute bgp metric 1
ip ospf redistribute bgp route-policy "Default_OSPF"
ip ospf redistribute bgp enable

Any clue for getting iBGP learnt routes into OSPF would be greatly appreciated and buy you a beer if we ever meet.

Thanks,
Hank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top