Export and Import config
To copy the configuration of certain parts of SonicWall such as APP CONTROL policies using the CLI over SSH, the best solution would be to export the configuration to TXT and then import it again?
Export it
export current-config cli ftp ftp://username:password@172.16.32.60/firmware/config.txt
Import it
import cli ftp ftp://user:password@ftpserverip/config.txt merge best-effort
Best Answer
-
Arkwright Community Legend ✭✭✭✭✭
Automating with CLI sure beats manual click, click, click, click to recreate something.
You just need to bear in mind that policies reference address groups [and potentially other objects as well], so they need to be aligned, or at the very least, exist, before this is going to work.
0