Discussion Locked

Help...I need to remove a static route?

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can anyone help me remove the following static route from my cisco 2500 (yeah I know its old)
D EX 65.199.44.0 [170/2195456] via 10.1.12.2, 2d06h, Serial1

8 replies

by cg it

try getting configmaker 2.6 from Cisco. you can use it to change your interfaces and remove the static route from the route table without having to use the command line.

by packet spoofer

Thank you very much for your help CG....I just could not get it to load my configuration because the program would not accept it...We run protocals that it apparently does not support....
Thanks again...
Scott

by cg it

Here is the command line reference for IOS 11.0 and above for cisco 2500 series [2600, etc].

enable

#route delete

by packet spoofer

Cg...thanks for hanging with me on this issue...I have not been able to run the command you referenced for some reason on this router. I have pasted the results I receive below for you to see for yourself.
Any other input you have is welcome, and I am willing to try anything you suggest as far as removal commands to see if it works....
Thanks again
Scott

BattleCreek# sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR

Gateway of last resort is 192.168.112.1 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.1.11.0/24 is directly connected, Serial0
D 10.1.14.0/30 [90/2195456] via 192.168.112.252, 15:33:51, Ethernet0
C 10.1.12.0/24 is directly connected, Serial1
12.0.0.0/27 is subnetted, 1 subnets
S 12.111.233.224 [1/0] via 10.1.12.2
D EX 19.0.0.0/8 [170/2172416] via 10.1.11.2, 15:31:54, Serial0
206.18.202.0/32 is subnetted, 1 subnets
D EX 206.18.202.19 [170/2172416] via 10.1.11.2, 15:31:54, Serial0
D EX 206.18.241.0/24 [170/2172416] via 10.1.11.2, 15:31:54, Serial0
133.189.0.0/24 is subnetted, 1 subnets
D EX 133.189.56.0 [170/2172416] via 10.1.11.2, 15:31:54, Serial0
65.0.0.0/24 is subnetted, 1 subnets
D EX 65.199.44.0 [170/2195456] via 10.1.12.2, 15:31:54, Serial1
D EX 192.28.163.0/24 [170/2172416] via 10.1.11.2, 15:31:54, Serial0
206.114.61.0/32 is subnetted, 1 subnets
S 206.114.61.205 [1/0] via 192.168.112.1
D EX 198.208.148.0/24 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
129.9.0.0/16 is variably subnetted, 2 subnets, 2 masks
D EX 129.9.201.30/32 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
D EX 129.9.236.0/23 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
D EX 192.85.5.0/24 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
164.56.0.0/24 is subnetted, 2 subnets
D EX 164.56.185.0 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
D EX 164.56.169.0 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
166.57.0.0/24 is subnetted, 1 subnets
D EX 166.57.16.0 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
172.16.0.0/24 is subnetted, 3 subnets
D EX 172.16.12.0 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
D EX 172.16.13.0 [170/2195456] via 10.1.12.2, 15:32:02, Serial1
C 172.16.11.0 is directly connected, Ethernet0
192.168.139.0/30 is subnetted, 2 subnets
D 192.168.139.0 [90/2681856] via 10.1.12.2, 15:32:04, Serial1
[90/2681856] via 10.1.11.2, 15:32:04, Serial0
D 192.168.139.4 [90/2681856] via 10.1.12.2, 15:32:02, Serial1
D EX 192.168.128.0/24 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
S* 0.0.0.0/0 [2/0] via 192.168.112.1
S 192.168.120.0/22 [1/0] via 192.168.112.252
D EX 192.168.124.0/22 [170/2172416] via 10.1.11.2, 15:32:02, Serial0
C 192.168.112.0/22 is directly connected, Ethernet0
D EX 192.168.140.0/22 [170/2684416] via 10.1.12.2, 15:31:58, Serial1
D EX 192.168.132.0/22 [170/2195456] via 10.1.12.2, 15:32:02, Serial1
BattleCreek#conf t
Enter configuration commands, one per line. End with CNTL/Z.
BattleCreek(config)#route delete 65.199.44.0 255.255.255.0
^
% Invalid input detected at '^' marker.

BattleCreek(config)#route delete ?
% Ambiguous command: "route delete "
BattleCreek(config)#exit
BattleCreek#route delete ?
% Unrecognized command
BattleCreek#route delete

by m.r.

I think you're close.
en
conf t
# to add a route-
ip route x.x.x.x x.x.x.x x.x.x.x(or interface #)
# to delete a route-
no ip route x.x.x.x x.x.x.x x.x.x.x(or int.#)
ctl Z
copy ru st

I may have missed it in my quick read but being a 2500 isn't as important as your IOS version when it comes to finding the right commands.

by packet spoofer

Thanks for your help MR.....This route was apparently defined on another router in our enterprise and populating the routing table of the router in question (from which I pasted the configuration in the post above....)
The syntax was not the problem apparently, but the target router....
Thank you for your answer....It is correct, only it needed to be done on another router....
Thx....

This discussion is closed to new replies.