Remove DHCP Setting from an interface on Juniper SRX

I'm fairly new to working on Juniper devices.

I'm trying to add a public address to a Juniper interface for OOB management, but there's an existing DHCP setting on the interface that I can't seem to be able to remove

Tried the following to remove the config

edit <interface>
delete


Any ideas?
JoehightowerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

arnoldCommented:
Use unset instead of set to remove the pool for the subnet you no longer need
http://kb.juniper.net/InfoCenter/index?page=content&id=KB15754#cli_config
JoehightowerAuthor Commented:
Thanks Arnold, but I should have mentioned that "unset" isn't an option, it's coming back with "No Valid completions"
arnoldCommented:
Try no set.
I do not believe you need to be I the interface.  Tge subsets are added and disabled within the main.

Do you have an option to manage via the web interface?

The example replace the set with unset.....
JoehightowerAuthor Commented:
Thanks for you help Arnold.

I didn't have web interface access to this device. I tried a few different options and eventually found the solution

I actually needed to delete the interface under the interface itself as follows:

edit interfaces ge-0/0/0 unit 0
delete

Then it allowed me to add a static IP to the interface

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
JoehightowerAuthor Commented:
I found the solution myself
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.