Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".

SonicOS: DHCP and Command Line Interface - CLI

Hi

I have many static MAC to IP assignments to configure and maintain, about 100.

You can do that through the GUI, like described here:

https://www.sonicwall.com/support/knowledge-base/how-can-i-create-a-static-dhcp-entry-in-the-sonicwall-utm-appliance/170504925446054/

Is there an way to do this with the command line interface CLI? It would really help me. NSA4500 with SonicOS 6.5.3.

Thank you

Bernhard Henning, MPI for Animal Behaviour

Category: Mid Range Firewalls
Reply

Best Answers

Answers

  • bernhardhenningbernhardhenning Newbie ✭

    config

    dhcp-server

    scope static 10.0.16.50 50:9A:4C:53:49:26

    netmask 255.255.240.0

    default-gateway 10.0.16.6

    comment "some comment"

    commit

    This works! Thank you

    Next step for we would be to wrap my ip-mac list, combined with the above learned CLI commands into one script. I think once I used a bash programm called expect for those kind of duties.

    Have a nice day, Regards Bernhard

    • yes, it was a typo. We have two NSA4600 running.


  • shiprasahu93shiprasahu93 Moderator

    Amazing. Glad I could help. Have a wonderful day!

    Shipra Sahu

    Technical Support Advisor, Premier Services

Sign In or Register to comment.