cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
524
Views
0
Helpful
3
Replies

Easy question on changing from static route to BGP

news2010a
Level 3
Level 3

Hi, can you confirm this:

Imagine that in production I have R1(internal network)----R2(ISP).

My task is to change config on R1 from static 'ip route 0.0.0.0 0.0.0.0 R2_IP' to BGP.

I already identified and tested in lab all BGP network statements and aggregate command I need to advertise - OK.

Question:

If I currently have a static route functional on R1 then I input my BGP statements, what would be the best way to minimize impact in production in case I missed a network statements or the provider misconfigured BGP from his side for whatever reason?

I mean, once I input the BGP statements,  the static route has the lowest administrative distance and therefore routing should still occur via the default route, correct (unless there is a more specific match).


Please let me if you have ideas to minimize impact on this transition.

2 Accepted Solutions

Accepted Solutions

csawest.dc
Level 3
Level 3

Dear Friend,

Pl change AD of Default route and also static like ,

ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx 250

ip route (ip address subnetmask nexthope ) 253

Then  it should work on BGP route, cause BGP AD is 200

Hope to help.

Cheers!!!

Vaib...

View solution in original post

Jon Marshall
Hall of Fame
Hall of Fame

Marlon

I mean, once I input the BGP statements,  the static route has the lowest administrative distance and therefore routing should still occur via the default route, correct (unless there is a more specific match).

Correct. So you can configure your BGP and then check the BGP table and your routing table to make sure you have received all the necessary routes. Then as Vaib suggested you can simply modify the default-route to have an AD greater than your EBGP routes so that you still have a default-route but it is only used if BGP routes are not received.

Once you are happy you have all the routes then remove the static default-route.

Jon

View solution in original post

3 Replies 3

csawest.dc
Level 3
Level 3

Dear Friend,

Pl change AD of Default route and also static like ,

ip route 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx 250

ip route (ip address subnetmask nexthope ) 253

Then  it should work on BGP route, cause BGP AD is 200

Hope to help.

Cheers!!!

Vaib...

Jon Marshall
Hall of Fame
Hall of Fame

Marlon

I mean, once I input the BGP statements,  the static route has the lowest administrative distance and therefore routing should still occur via the default route, correct (unless there is a more specific match).

Correct. So you can configure your BGP and then check the BGP table and your routing table to make sure you have received all the necessary routes. Then as Vaib suggested you can simply modify the default-route to have an AD greater than your EBGP routes so that you still have a default-route but it is only used if BGP routes are not received.

Once you are happy you have all the routes then remove the static default-route.

Jon

Thanks all!!!

Review Cisco Networking products for a $25 gift card