PIX Config change

Posted on 2007-11-28
Last Modified: 2010-04-09
I have a PIX 515 running version 6.3(4) of the IOS.
I need to change the IP address of my mail server and there is a line in the config i need to change but can't.
The line is:

static (inside,outside) *external IP* *internal IP* netmask 0 0

I need to change the internal IP address but if i try to remove this line or add another it fails on the static word.

Any ideas on how i can edit this line?

Question by:nealerocks
LVL 36

Expert Comment

ID: 20368722
To remove the line copy and paste it back into the configuration but with the 'no ' keyword infront.
You can then enter the new command with the modifed IP address.
LVL 28

Expert Comment

ID: 20368736
Are you in config mode?  Your prompt should look like this:


If you have the "#" prompt at the end and it says (config), then you should be able to issue the "no" form of the static command to remove it.  In other words,

no static (inside,outside) *external IP* *internal IP* netmask

and then type the static command back in with the new value(s).
LVL 25

Expert Comment

ID: 20368948
i have to agree with batry_boy.  typically when this happens to me, i'm in a hurry to make a simple change and sometimes forget to put myself in config mode first.
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

LVL 12

Author Comment

ID: 20369128
Thanks for your responses guys.
However i am in config mode and i have tried typing the whole line with "no" in front of it.

It give me an error and the little arrow points to the word static.
LVL 28

Accepted Solution

batry_boy earned 500 total points
ID: 20369210
Try clearing your existing xlates first with the command:

clear xlate

and then try removing it again.  If that doesn't work, I would reload the PIX and try again.
LVL 12

Author Comment

ID: 20369295
I tried the clear xlate command but it wont accept it. i tried in config mode and normal mode.
the error is the word clear. is there another command to clear the xlate?
LVL 12

Author Comment

ID: 20369363
when i try clear xlate in enable mode the error points to xlate.
i typed clear ? and xlate did not show up in the list of available commands.
LVL 28

Expert Comment

ID: 20369476
OK, something weird is going on the output of the "show version" command, please.
LVL 12

Author Comment

ID: 20369623
Holy shit, i'm the dumbest person in the world! i had the console cable plugged into the wrong port. that is why the commands were not working. i plugged it into the router by mistake which sits on top of the pix.
sorry guys.

Thanks for your help batry. im going to give you the points because i had the right commands from the beginning, i just noticed the problem when you asked for the show version output.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Server to Cisco switch connectivity 10 102
Password recovery 2960S 4 36
Cisco Switch VLAN voice and Data 2 48
pfsense upgrade from 2.2.6 to 2.3.3 28 30
When I upgraded my ASA 8.2 to 8.3, I realized that my nonat statement was failing!   The log showed the following error:     %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows It was caused by the config upgrade, because t…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question