Alteon OS Command Reference

/cfg/ptcfg <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 TFTP server. To start the switch configuration upload, at the Configuration# prompt, enter:

Configuration# ptcfg <TFTP server> <filename>

Where server is the TFTP server IP address or hostname, and filename is the name of the target script configuration file.

NOTE 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 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 <TFTP server> <filename>

Restoring the Active Switch Configuration

When the gtcfg command is used, the active configuration will be replaced with the com- mands 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:

Configuration# gtcfg <TFTP server> <filename>

Where server is the TFTP server IP address or hostname, and filename is the name of the target script configuration file.

322 „ The Configuration Menu

43W7774, May 2007

Page 322
Image 322
Nortel Networks 43W7774 manual Saving the Active Switch Configuration, Restoring the Active Switch Configuration