Join the Conversation

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

I don't think I really want to spend all day at this - CLI anyone?

LarryLarry All-Knowing Sage ✭✭✭✭

Adding my client's default Address Objects and Groups to a new TZ350 in CSC-MA.

I keep getting this:


After 15 minutes, I'm pretty much convinced this is NOT an effective use of my time.

Could someone please point me in the direction of a SonicWall University course and/or documentation on quickly getting started with the CLI?

Thanks!

Category: Capture Security Center
Reply

Answers

  • Hi @LARRY,

    Are you looking for CLI feature or API to configure CSC w.r.t firewall configuration? Please let us know.

    Regards

    Saravanan V

    Technical Support Advisor - Premier Services

    Professional Services

  • LarryLarry All-Knowing Sage ✭✭✭✭

    @Saravanan I honestly do not know which one is easier to understand and faster to implement. Sorry that that's not an answer...

  • prestonpreston All-Knowing Sage ✭✭✭✭
    edited October 2020

    Login using SSH

    then enter as below, or copy and paste from a text file for multiple entries, don't try and add to many in one go as you will get errors


    conf

    address-object ipv4 "Test object 172.16.32.226"

    name "Remote Analyzer 172.16.32.226"

    zone LAN

    host 172.16.32.226


    exit


    To create the Groups as below


    address-group ipv4 "Test object Group"

    address-object ipv4 "Test object 172.16.32.226"

    exit

    commit

    you only need to use "" if spaces are present in the name

    also when pasting in to here, it added extra blank lines

    if you want a guide on the CLI the best way to get this is to look at the exported CLI file as it is in the same format you need for the CLI commands, you can get if you import your config file to https://migratetool.global.sonicwall.com/

    and then export as cli file or you can export this way via FTP

    export current-config cli ftp ftp://username:password@172.16.32.60/firmware/sw-prodname-buildversion-ecli.txt

Sign In or Register to comment.