dimanche 29 juillet 2012

How to backup and restore Juniper configuration


A. Using GUI to backup and restore the configuration. Login the firewall using Internet Browser. Navigate to Configuration>Update>Config file. You can save, merge or replace configuration.



B. Command lines.
1. To copy configuration, use "get config" command.
2. To copy the configuration from a computer to the router, and hen load it
1) copy the configuration file: "file copy servername:ssg5-config.txt" Note: make sure the file is in the same path running command line or you will need to add path for example, copy file servername:/temp/ssg5-config.txt.
2) Verify the file has been copied: "file list"
3) load file: "load override ssg5-config.txt'
4) Review the configuration: "show"
5) Activate the configuration: "commit"
3. Save the existing configuration to a TFTP server with the command:
save config to tftp <tftp_server_ip> <config_filename>
4. Update the existing config with the command: save config from tftp <tftp_server_ip> <config_filename> to flash

Reset the security device: reset
Configuration modified. Save? [y] y/n n <-----answer N for No; otherwise you will overwrite the config loaded in step 1 (if you entered y, then repeat step 1.)
System reset? Are you sure? y/n y

Aucun commentaire:

Enregistrer un commentaire