A – Command Line Interface
Working with Switch Configurations
A-4
59097-01 A
0
A.3.2
Backing up and Restoring Switch Configurations
Backing up and restoring a configuration is useful to protect your work or for use
as a template in configuring other switches. The Config Backup command creates
a file on the switch, named
configdata
. This file can be used to restore a switch
configuration only from the command line interface; it cannot be used to restore a
switch using SANsurfer Switch Manager.
SANbox Manager #> admin start
SANbox Manager (admin) #> config backup
The
configdata
file contains all of the switch configuration information including
the following:
All named switch configurations including the default configuration. This
includes port, switch, port threshold alarm, and zoning configuration
components.
All SNMP and network information defined with the Set Setup command.
The zoning database included all zone sets, zones, and aliases
You use FTP to download the
configdata
file to your workstation for safe keeping
and to upload the file back to the switch for the restore function. To download the
configdata file, open an FTP session on the switch and login with the account
name
images
and password
images
. Transfer the file in binary mode with the Get
command as shown:
>ftp
ip_address
user:images
password: images
ftp>bin
ftp>get configdata
xxxxx bytes sent in xx secs.
ftp>quit
You should rename the
configdata
file on your workstation with the switch name
and date,
config_switch_169_10112003
, for example.