09-18-2007 08:59 AM - edited 03-05-2019 06:33 PM
I created a static nat that has locked me out of my asa 5505 from my network, great right? Command was:
static (inside,inside) interface 192.168.1.30 netmask 255.255.255.255
I'm trying to get rid of this using:
no static (inside, inside) interface 192.168.1.30 netmask 255.255.255.255
from the console, but it doesn't seem to like the "no" syntax.
How can I remove this static nat using the console?
Thanks much!
Solved! Go to Solution.
09-18-2007 12:46 PM
ASA/C2# conf t
ASA/C2(config)# static (inside,outside) interface 192.168.1.30 netmask 255.255.255.255
WARNING: static redireting all traffics at outside interface;
WARNING: all services terminating at outside interface are disabled.
ASA/C2(config)# sh run static
static (inside,outside) interface 192.168.1.30 netmask 255.255.255.255
ASA/C2(config)# no static (inside,outside) interface 192.168.1.30 netmask 255.255.255.255
ASA/C2(config)# sh run static
ASA/C2(config)#
09-18-2007 10:11 AM
look at the configuration "sh run"
use "no" in front of the statement which you are going to delete.
09-18-2007 10:23 AM
I feel like that's what I'm doing...
I am typing, at the console prompt, the following command:
no static (inside, inside) interface 192.168.1.30 netmask 255.255.255.255
The consold fails it with the following error:
no static (inside, inside) interface 192.168.1.30 netmask 255.255.255.255
^
Invalid input detected at '^' marker
where the '^' is pointing at the 't' in static.
Am I missing something here?
09-18-2007 12:46 PM
ASA/C2# conf t
ASA/C2(config)# static (inside,outside) interface 192.168.1.30 netmask 255.255.255.255
WARNING: static redireting all traffics at outside interface;
WARNING: all services terminating at outside interface are disabled.
ASA/C2(config)# sh run static
static (inside,outside) interface 192.168.1.30 netmask 255.255.255.255
ASA/C2(config)# no static (inside,outside) interface 192.168.1.30 netmask 255.255.255.255
ASA/C2(config)# sh run static
ASA/C2(config)#
09-18-2007 01:00 PM
Thanks very much! That did it!
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: