BelAir20E User Guide
Command Line Interface Basics
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
When used without its optional parameters, the
config-save
command saves
the configuration database for the active software load to persistent storage.
The stored configuration is automatically applied at the next reboot.
When used with its optional parameters, the
config-save
command also
transfers the configuration database to a remote server.
If
active
is specified, the
config-save
command saves the configuration database
for the active software load to persistent storage and then transfers it to a
remote server. If
backup
is specified, the configuration database for the active
software load is not saved. Instead, the configuration database for the active
software load that was saved previously to persistent storage, is transferred to
a remote server.
You can use either TFTP or FTP to communicate with the remote server. By
default, the
config-save
command uses TFTP. If you specify FTP, you can also
specify the username and password. The default FTP username is
anonymous
and the default FTP password is
root@<nodeip>
, where <nodeip> is the IP
address of node making the request. If you do not use the default FTP
username, the FTP server must be configured to accept your username and
password.
Restoring the
Configuration Database
config-restore remoteip <ipaddress> remotefile <filename>
[{tftp|ftp [user <usrname> password <pword>]}]]
[force]
This command transfers the configuration database from a remote server to
the active software load in persistent storage. This allows you to restore the
entire configuration database from a previously saved backup copy.
Use the
reboot
command for the new configuration to take effect.
You can use either TFTP or FTP to communicate with the remote server. By
default, the
config-restore
command uses TFTP. If you specify FTP, you can also
specify the user name and password. The default FTP user name is
anonymous
and the default FTP password is
root@<nodeip>
, where <nodeip> is the IP
address of node making the request. If you do not use the default FTP
username, the FTP server must be configured to accept your username and
password.
The optional
force
parameter suppresses version checking on the configuration
file that is being downloaded. You can use a backup copy that was created with
a different version of software than the current software installed on the unit. If
you do, BelAir Networks strongly recommends that you fully and thoroughly
verify the configuration and operation of the unit after you reboot the system
and before you save the restored configuration.