Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Difference between "ip default-gateway" and "ip route 0.0.0.0"?

On the Catalyst switches, is it the same to use "ip default-gateway" or "ip route 0.0.0.0" to set a default route?

Thanks a lot

Gary

1 REPLY
Purple

Re: Difference between "ip default-gateway" and "ip route 0.0.0.

No a default gateway is only used if you have turned off ip routing on the L3 switch . If you have ip routing turned on you would use the static default route pointing to the next hop address.

388
Views
0
Helpful
1
Replies
CreatePlease to create content