116 APPENDIX : COMMAND LINE INTERFACE
Device Save and
Restore
The following commands are used to save and restore the configuration on the
specified device.
Save Configuration
tcmsave -f filename target
Where:
filename
The .whb output file to which the configuration is stored.
target
The IP address or hostname of the device.
For example:
tcmsave -f chassis1.whb 192.77.203.66
In this example, the utility saves the configuration data from the chassis with
the IP address of 193.72.205.76 to a file called CHASSIS1.WHB.
Restore Configuration To run tcmrestore, issue the following command:
tcmrestore -f filename [-F] target
Where:
filename
Filename of the .whb file with the configuration to be restored.
-F
Force restore. Restore configuration from .whb file regardless of component
mismatch.
For example:
tcmrestore -f chassis1.whb 192.77.203.98
In this example, tcmrestore is using the file CHASSIS1.WHB to restore the
configuration to the chassis with the IP address of 192.77.203.98.