beautypg.com

Saving the active switch configuration, Restoring the active switch configuration, Cfg/ptcfg

Page 325: Cfg/gtcfg

background image

Alteon OS Command Reference

The Configuration Menu

„

327

BMD00007, November 2007

/cfg/ptcfg

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:

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

N

OTE

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).

N

OTE

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

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:

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

Configuration# ptcfg

Configuration# gtcfg