Saving, erasing, and restoring your configurations are all basic functions you will need to master. All the following examples assume you already have a TFTP server running. The write net CommandMaking a backup of your configuration is always a good idea because it makes recovery easy. You can save your configuration to a TFTP server using the write net command, like so: write net [[server_ip]:[filename]] Table 4.15. The write net Command Options
Here is an example of the write net command: pixfirewall# write net 192.168.1.11:backup1 Building configuration... TFTP write 'backup1' at 192.168.1.11 on interface 1 [OK] The write erase CommandThe write erase command erases your configuration from flash, giving you an empty configuration on the next reload. Here's a command example: pixfirewall(config)# write erase Erase PIX configuration in flash memory? [confirm] The configure net CommandFinally, the configure net command enables you to merge your configuration back into the PIX from a TFTP server. Make a note that you must configure at least one interface with an IP address and enable it before you can reload your configuration. Here's its syntax: configure net [<location>]:[<pathname>] Table 4.16. configure net Command Options
The write net command's syntax is as follows : pixfirewall# write net 192.168.1.11:backup1 Building configuration... TFTP write 'backup1' at 192.168.1.11 on interface 1 [OK] |