write


Store, view, or erase the current configuration. (Privileged mode.)

The PIX 506 does not support use of the write standby command. Also, the PIX 515, PIX 506, and the PIX 525 do not support use of the write floppy command.

write net [[server_ip]:[filename]]

write erase

write floppy

write memory

write standby

write terminal


Syntax Description

server_ip Store current configuration at a host available across the network. If you specify the full path and filename in the tftp-server command, only specify a colon (:) in the write command.
filename A filename you specify to qualify the location of the configuration file on the TFTP server named in server_ip. If you set a filename with the tftp-server command, do not specify it in the write command; instead just use a colon (:) without a filename.

Many TFTP servers require the configuration file to be world-writable to
write to it.

erase Clear the Flash memory configuration.
floppy Store current configuration on diskette.
memory Store current configuration in Flash memory.
standby Store configuration to the firewall standby unit from RAM to RAM.
terminal Display current configuration on the terminal.


Usage Guidelines

The write net command stores the current configuration into a file on a TFTP server elsewhere in the network. Additionally, the write net command uses the TFTP server IP address specified in the tftp-server command.

If you specify both the IP address and path name in the tftp-server command, you can specify the write net :filename as simply a colon (:):

write net :

Use the configure net command to get the configuration from the file.

The write erase command clears the Flash memory configuration.

The write floppy command stores the current configuration on diskette. The diskette must be DOS formatted or a firewall boot disk. If you are formatting the diskette from Windows, choose the Full format type, not the Quick (erase) selection. You can tell that information is stored on the diskette by observing that the light next to the diskette drive glows while information transfers.

The diskette you create can only be read or written by the firewall. If you use the write floppy command with a diskette that is not a firewall boot disk, do not leave the floppy in the floppy drive because it will prevent the firewall from rebooting in the event of a power failure or system reload. Only one copy of the configuration can be stored on a single diskette.

The write memory command saves the current running configuration to Flash memory. Use the configure memory command to merge the current configuration with the image you saved in Flash memory.

The firewall lets processing continue during the write memory command.

If another firewall console user tries to change the configuration while you are executing the write memory command, the user receives the following messages:

    Another session is busy writing configuration to memory
    Please wait a moment for it to finish

After the write memory command completes, firewall lets the other command complete.

Only use the write memory command if a configuration has been created with IP addresses for both network interfaces.

The write standby command writes the configuration stored in RAM on the active failover unit to the RAM on the standby unit. When the primary unit boots it automatically writes the configuration to the secondary unit. Use the write standby command if the primary and secondary units' configurations have different information.

The write terminal command displays the current configuration in the firewall unit's RAM memory.

You can also display the configuration stored in Flash memory using the show configure command.


Examples

The following example specifies a configuration file on the TFTP server and then stores the configuration in the new_config file:
     tftp-server 10.1.1.2 /pixfirewall/config/new_config
    write net :

The following example erases the contents of Flash memory and reloads the firewall:

    write erase
    Erase PIX configuration in Flash memory? [confirm] y
    reload

The following example saves the configuration on diskette:

    write floppy
    Building configuration
    [OK]

The following example saves the current configuration to Flash memory:

    write memory
    Building configuration
    [OK]

The following example displays the configuration:

    write terminal
    Building configuration
    : Saved