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

Remove a route entry

I have a pix 515. I entered a line under Config t.

route inside 192.168.0.0 255.255.255.o 192.168.1.1

It is wrong how do I either change it or delete this line.

Thanks

4 REPLIES
Cisco Employee

Re: Remove a route entry

David,

Enter a "no" in front of the wrong statement and then enter the right one.

For example:

pixfirewall(config)# route inside 192.168.0.0 255.255.255.0 192.168.1.1

pixfirewall(config)# no route inside 192.168.0.0 255.255.255.0 192.168.1.1

Let me know if it helps.

Regards,

Arul

New Member

Re: Remove a route entry

Tried that I get a message

Cannot remove route entry

Usage: [no] route []

Cisco Employee

Re: Remove a route entry

David,

Can you do a "wr t" and make sure that the route that you are trying to remove is in the configuration and then try the "no route ......." command with the route that you want to remove.

If you still have issue, can you post the "route inside ....." that you are trying to remove from the configuration.

Regards,

Arul

New Member

Re: Remove a route entry

Thanks for the reply, The no at the begining of the line does work. When I checked to see if the line was still there I used show config

instead of show running-config.

162
Views
5
Helpful
4
Replies
CreatePlease to create content