cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
352
Views
0
Helpful
2
Replies

Redistributng BGP Default into OSPF

lamav
Level 8
Level 8

Hi:

I have a BGP speaker thats learning a default route from the ISP. I know that I can run OSPF on that same edge router, which makes it an ASBR, by the way, and inject a default route into the OSPF domain by using the default-information-originate command. The caveat being that the default route must be in the routers RIB, unless, of course, I use the "always" keyword. Inthat case the dfault will be injected into the OSPF area even if one does not exist on the edge router (ASBR).

However, is it possible to do a "redistribute bgp 65000" under the OSPF process to inject the BGP-learned default route into the OSPF area that way?

Thanks

1 Accepted Solution

Accepted Solutions

Harold Ritter
Level 12
Level 12

Hi Victor,

It is not possible to redistribute the default route into ospf using the redistribute statement.

As you mentioned, you can definitely use the "default-information originate" statement without the always keyword, which will only inject the route into ospf if it is already present in the RIB (from BGP or other source).

Regards

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

2 Replies 2

Harold Ritter
Level 12
Level 12

Hi Victor,

It is not possible to redistribute the default route into ospf using the redistribute statement.

As you mentioned, you can definitely use the "default-information originate" statement without the always keyword, which will only inject the route into ospf if it is already present in the RIB (from BGP or other source).

Regards

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Hi, Harold:

Thanks for confirming. Unfortunately, I am on an engagement out of state and I dont have access to my lab. I would have just 'labbed it up' otherwise.

Thanks again.

Victor

Review Cisco Networking for a $25 gift card