cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
156043
Views
20
Helpful
3
Replies

How to remove an ip route

La1Impala
Level 1
Level 1

Hi  I created a route using the ip route command. I wanted to change one of the ip addresses . I tried doing the command over again, tried the prefix of no, still stays unchanged.  also how do you use the search function on this forum and do quotes,  I tried the "block quote" at the top sort worked not exactly as I wanted, tried [quote] [/quote] and that did not work either

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

just use the no form in front of the route as below example

(config)#no ip route 1.1.1.1 255.255.255.255 gigabitEthernet 1/0/1

Hello, 

If you are saying that, you can still see the route, even after prefixing no, I am suspecting you might have duplicate routes or another routing protocol that's adding this route to your routing table.

If possible can you share sh ip route and let us know which route are you planning to modify.

Regards,

Harsha

gopugowda
Level 1
Level 1

First you need to remove the assigned IP from that particular VLAN and execute no ip route command . And then again assign the IP address to that VLAN. 

 

Regards,

GK

Review Cisco Networking for a $25 gift card