SmartCell 6A000/ZX-250 Reference Manual 2-183
Console Commands
Descriptions
Examples
switch_prompt # backup switch
ServerIP(1.1.1.200) : 1.1.1.200
Path(public/smartcell.ztr) : /back_dir/cnfg_wk04
switch_prompt #
switch_prompt # restore switch
ServerIP() : 1.1.1.200
Path(/back_dir/cnfg_wk04) :
Backup file is valid.
Restoring a backup file will completely replace any data stored in the flash.
Are you sure this is what you want to do?
Confirm(y/n)?: y
switch_prompt #
Operator Parameters/Permissions Description
backup
switch [ServerIP] <serverip>
[Path]
</back_dir/backup_file>
Administrator
Backs up the configuration of the switch to an end station. This
command backs up the switch configuration only. It does not
back up the load image. It will prompt you for the IP address of
the workstation to which you are saving the switch
configuration as well as the backup path and filename. The end
station must have TFTP Server software running in order to
transfer files from the switch. If you have previously entered
backup switch, these values appear as the parameter defaults for
[ServerIP] and [Path]. The default is the name of the switch—
smartcell. If you change the switch name using modify
switchname, the backup filenames are automatically adjusted
to reflect this new switch name.
You can back up directly to the /tftpboot directory or create a
subdirectory under /tftpboot (for example, /back_dir). However ,
your backup file must exist under the /tftpboot directory or the
sub-directory on the target end station. The backup file can be
created with any name. Both the directory and file must have
appropriate read and write permissions to complete the backup
successfully.
restore
switch [ServerIP] <serverip>
[Path]
</back_dir/backup_file>
Administrator
Restores the switch configuration from a prior backup. It
requires an IP address, as well as the file name. As with backup
switch, this command also requires TFTP protocol. The switch
must be rebooted after restore switch for the new
configuration to take effect.