Deleting destination NAT rule and policy on a Juniper SRX

Hi,
I need to first disable (to test) then eventually delete a NAT rule and a policy on a Juniper SRX router.
I have searched for the right command but I can't seem to find it.
DonKwizoteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

harbor235Commented:
After entering configuration mode issue the "edit security nat" command moving to the static or dynamic portion of your config. Then all you need to do is issue the "deactivate <Rule_name>" command,  then of course the commit or commit confirmed.

To enable the rule all you would need to do is issue the "activate <Rule_name>" command


harbor235 ;}


harbor235 ;}
1
DonKwizoteAuthor Commented:
This is what I'm getting now. Am I entering the deactivate command incorrectly?

root@SRX% cli
root@SRX> configure
Entering configuration mode
[edit]
root@SRX# edit security nat static rule-set rule7
[edit security nat static rule-set rule7]
root@SRX# deactivate rule7
                          ^
syntax error, expecting <statement>, <attribute-name>, <flag-value>, or <identifier>.
0
DonKwizoteAuthor Commented:
I've just found out I can delete the rule in the J-Web. Why was I trying the CLI?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DonKwizoteAuthor Commented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware Firewalls

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.