cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2441
Views
20
Helpful
17
Replies

ip default-gateway and default-information originate

mahesh18
Frequent Contributor
Frequent Contributor

 

 

 

Hi Everyone,

 

 

Currently our 3750 switch has below config

 

Current Switch running ospf

 

ip default-gateway x.x.x.x

ip classless

ip route 0.0.0.0 0.0.0.0 x.x.x.x

 

 

router ospf 1

 

default-information originate metric 10 metric-type 1

 

 

As I need to change the network design we want some other switch in network to advertise the default route config

 

New Switch running ospf

 

ip route 0.0.0.0 0.0.0.0 x.x.x.x

 

router ospf 1

 

default-information originate metric 10 metric-type 1

 

 

But we want current switch even if it learn the default gateway from the nei switch it should follow the current ip default gateway  x.x.x.x

 

So my question is even if current switch learn the default route via ospf nei will config ip default gateway take priority over it?

 

Regards

MAhesh

17 Replies 17

Hi Mahesh,

That is correct.

HTH

mahesh18
Frequent Contributor
Frequent Contributor

 

Hi Reza,

 

Many Thanks for replying to all my questions.

I can always count on you.

 

Best Regards

Mahesh

 

mahesh18
Frequent Contributor
Frequent Contributor
 
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers