Configuration Files


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 Command

Making 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

Option

Function

server_ip

This is the IP address of the TFTP server.

filename

This is the path and name you want to save the configuration as.

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 Command

The 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 Command

Finally, 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

Option

Function

location

The location option is the IP address of the TFTP server.

pathname

This is the path and filename of the configuration.

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] 


CSPFA Exam Cram 2 (Exam 642-521)
CCSP CSPFA Exam Cram 2 (Exam Cram 642-521)
ISBN: 0789730235
EAN: 2147483647
Year: 2003
Pages: 218

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net