Technical data
BLADE OS 5.0 Command Reference
BMD00142, November 2009 Chapter 6: The Configuration Menu
307
/cfg/ptcfg <FTP/TFTP server> <filename>
Saving the Active Switch Configuration
When the ptcfg command is used, the switch’s active configuration commands (as displayed
using /cfg/dump) will be uploaded to the specified script configuration file on the FTP/TFTP
server. To start the switch configuration upload, at the Configuration# prompt, enter:
Where server is the FTP/TFTP server IPv4 address or hostname, and filename is the name of the
target script configuration file. The output file is formatted with line-breaks but no carriage
returns—the file cannot be viewed with editors that require carriage returns (such as Microsoft
Notepad).
Note – If the FTP/TFTP server is running SunOS or the Solaris operating system, the specified
ptcfg file must exist prior to executing the ptcfg command and must be writable (set with
proper permission, and not locked by any application). The contents of the specified file will be
replaced with the current configuration data.
/cfg/gtcfg <FTP/TFTP server> <filename>
Restoring the Active Switch Configuration
When the gtcfg command is used, the active configuration will be replaced with the commands
found in the specified configuration file. The file can contain a full switch configuration or a partial
switch configuration. The configuration loaded using gtcfg is not activated until the apply
command is used. If the apply command is found in the configuration script file loaded using this
command, the apply action will be performed automatically.
To start the switch configuration download, at the Configuration# prompt, enter:
Where server is the FTP/TFTP server IPv4 address or hostname, and filename is the name of the
target script configuration file.
Configuration# ptcfg <FTP or TFTP server> <filename>
Configuration# gtcfg <FTP or TFTP server> <filename>