Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CAT OS, how to remove default route?

Hello,

I added a new default route on a 2980g layer 2 switch with the set command, but cannot figure out how to remove the old default route?

TIA,

Gary

3 REPLIES
Cisco Employee

Re: CAT OS, how to remove default route?

Issue a "clear ip route"

ES2-LAB> (enable) clear ip route ?

all Clear all IP routes

Clear IP route destination

ES2-LAB> (enable) clear ip route

Use "clear ip route all" and then add the required route or just clear the one you want.

New Member

Re: CAT OS, how to remove default route?

Excellent that worked perfect! Thank you!

VIP Purple

Re: CAT OS, how to remove default route?

Hello Gary,

'clear ip route' should let you delete the route, can you check if you have that command available on your switch ?

Regards,

GP

2151
Views
0
Helpful
3
Replies
CreatePlease login to create content