Some times you may not be able to delete the static routes in cisco catalyst switches so this tutorial will explain how to fix this problem
When you run the following comamnd will show you the existing routing table
switch# show ip route
The static routes cannot be deleted no ip route … command
switch(config)# no ip route ….
switch# clear ip route *
switch# clear ip cache *
You need to disable and enable the “ip routing” service.
Disable IP Routing
switch(config)#no ip routing
Enable IP Routing