Você está na página 1de 3

iTAS Corp.

Confidentia

Author:Bob Weng

/ 2005/8/11 / V 1.0

How to backup / restore your configuration


1 Overview
This feature based on the same CP version Hence if you want to do this feature ,pls use CLI to check the CP version is the same or not In order to backup/restore all configuration what you had ever configured from IPAM-4800 to another one.

2 CLI Commands
get system info Upload Uploading the primary configuration: upload src /nvram/system/primcfg dest <filename> ip <ipaddress> [mode tftp] Uploading the secondary configuration: upload src /nvram/system/seccfg dest <filename> ip <ipaddress> [mode tftp] Download Downloading the primary configuration: download src <filename> dest /nvram/system/primcfg ip <ip address> [mode tftp] Downloading the secondary configuration: download src <filename> dest /nvram/system/seccfg ip <ipaddress> [mode tftp]

3 Configuration
Step $ get system info
Description : 111111111111111111111111000000000000000010000000 Name : Location : Contact : Vendor : LogThreshold :0 Object-id : 1.3.6.1.4.1.3278.1.12 Up Time(HH:MM:SS) : 20:9:38 HwVersion : ADSL-1.0 CPLDVersion : 1.8 CPSwVersion : COL2.10.3.2.070221 CPSwVersion(Build): F.3.05.i1000.ADSL2+.A DEFAULT (GS_API_654/E.67.1.69) DPSwVersion : DP_B02_10_28_04_ip1000a System Time : Thu Jan 01 20:09:38 1970 Time Zone : GMT DST : off Services : physical datalink internet end-to-end applications

You want to download the configure file to IPAM48XX series product ,you must to confirm the CP version is the same or not If the CP version is not the same ,sorry you cant download it to IPAM 48XX series product.

$ upload src /nvram/system/primcfg dest primcfg2 ip 192.168.100.123 Uploading the File... ................................................................................ 2 ................................................................................ ................................. Upload session Completed,Bytes tranfered 262144... 3

Before upload, please active TFTP Server.

Theres a 256K length file was created in specific folder.. ( This is binary file, not text file )
$ upload src /nvram/system/seccfg dest sec ip 192.168.100.123
Uploading the File...

4 ................................................................................

................................................................................ ................................ Upload session Completed,Bytes tranfered 262136...

$ commit
5 Block 27 erase in progress
........Flash block 27 erase successful... FLASH program starts at ADDR 360000

When system comes up by default there is no primary or secondary configurations created. User should upload the configuration only
-1-

iTAS Corp. Confidentia


Block 26 erase in progress ........Flash block 26 erase successful... FLASH program starts at ADDR 340000 FLASH program starts at ADDR 340004 FLASH program starts at ADDR 37fff8 FLASH program starts at ADDR 37ffd4 FLASH program starts at ADDR 37fff4 Compress:- UnZipLen: 204800, ZipLen: 8081 FLASH program starts at ADDR 37ffd0 FLASH program starts at ADDR 340054 FLASH program starts at ADDR 360004 FLASH program starts at ADDR 37fffc FLASH program starts at ADDR 340004

Author:Bob Weng

/ 2005/8/11 / V 1.0

when it is created otherwise the configuration uploaded would be invalid and download of the same would fail. Primary cfg gets created after first commit and Secondary device gets created after second commit.

$ commit
Block 27 erase in progress ........Flash block 27 erase successful... FLASH program starts at ADDR 360000Block 26 erase in progress ........Flash block 26 erase successful... FLASH program starts at ADDR 340000 FLASH program starts at ADDR 340004 FLASH program starts at ADDR 37fff8 FLASH program starts at ADDR 37ffd4 FLASH program starts at ADDR 37fff4 Compress:- UnZipLen: 204800, ZipLen: 8081 FLASH program starts at ADDR 37ffd0 FLASH program starts at ADDR 340054 FLASH program starts at ADDR 360004 FLASH program starts at ADDR 37fffc FLASH program starts at ADDR 340004

$ download src primcfg2 dest /nvram/system/primcfg ip 192.168.100.123 Downloading the File... ................................................................................ ................................................................................ ................................ Block 4 erase in progress ........Flash block 4 erase successful... Block 5 erase in progress ........Flash block 5 erase successful... FLASH program starts at ADDR 80004 FLASH program starts at ADDR 80008 FLASH program starts at ADDR a0000 ############### FLASH program starts at ADDR 80000 FLASH program starts at ADDR 80000 Download session Completed,Bytes received 262144... 6 $ download src sec dest /nvram/system/seccfg ip 192.168.100.123 Downloading the File... ................................................................................ ................................................................................ ................................ Block 4 erase in progress ........Flash block 4 erase successful... Block 5 erase in progress ........Flash block 5 erase successful... FLASH program starts at ADDR 80004 FLASH program starts at ADDR 80008 FLASH program starts at ADDR a0000 ############### FLASH program starts at ADDR 80000 FLASH program starts at ADDR 80000 Download session Completed,Bytes received 262144...

Notes: 1) User can download a configuration on primary cfg area on the flash at anytime. 2) When system comes up by default there is no primary or secondary configurations created. User should upload the configuration only when it is created otherwise the configuration uploaded would be invalid and download of the same would fail. Primary cfg gets created after first commit and Secondary device gets created after second commit. 3) There is a limitation in case of secondary cfg download. When the system has come up using default configuration and no secondary cfg has been created and the user does one commit operation, he can not download a saved config to secondary cfg unless he does a second commit also to create the secondary cfg.
2

iTAS Corp. Confidentia

Author:Bob Weng

/ 2005/8/11 / V 1.0

4) It is however possible to download both primary and secondary cfg without doing any commit when the system comes up by default. It should be remembered that in case of a system with no primary or secondary cfg created, the primary cfg should be downloaded first and then the secondary cfg. 5) Saved config files of only the same release can be downloaded otherwise a compatibility mismatch error would fail the download. 6) The saved config of size equal to the CFG1/CFG2 shall get downloaded successfully on the system. Any download of saved config of size greater than or less than the CFG1/CFG2 size present on the system shall fail. Sizes of CFG1 and CFG2 are configured in the createfi.cfg. 7) Download of a file which is not in the config format as acceptable by the system shall fail. 8) Uploaded primary and secondary configuration files are in binary format and can only be interpreted by Columbia Software.

Copyright (c) iTAS Corp. All rights reserved.


3

Você também pode gostar