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

ip default-gateway and default-information originate

mahesh18
Level 6
Level 6

 

 

 

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

 

Hi Reza,

 

Many Thanks for replying to all my questions.

I can always count on you.

 

Best Regards

Mahesh

 

 
Review Cisco Networking for a $25 gift card