Alteon OS Command Reference
Chapter 6: The Configuration Menu
321
40M2420, April 2007
/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:
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
<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:
Where
server
is the TFTP server IP address or hostname, and
filename
is the name of the target
script configuration file.
Configuration#
ptcfg
<TFTP server>
<filename>
Configuration#
gtcfg
<TFTP server>
<filename>
Содержание Alteon OS
Страница 12: ...Alteon OS Command Reference 12 Contents 40M2420 April 2007...
Страница 18: ...Alteon OS Command Reference 18 Preface 40M2420 April 2007...
Страница 30: ...Alteon OS Command Reference 30 Chapter 1 The Command Line Interface 40M2420 April 2007...
Страница 120: ...Alteon OS Command Reference 120 Chapter 4 The Information Menu 40M2420 April 2007...
Страница 168: ...Alteon OS Command Reference 168 Chapter 5 The Statistics Menu 40M2420 April 2007...
Страница 322: ...Alteon OS Command Reference 322 Chapter 6 The Configuration Menu 40M2420 April 2007...
Страница 338: ...Alteon OS Command Reference 338 Chapter 8 The Boot Options Menu 40M2420 April 2007...
Страница 352: ...Alteon OS Command Reference 352 Chapter 9 The Maintenance Menu 40M2420 April 2007...
Страница 372: ...Alteon OS Command Reference 372 Appendix B Alteon OS SNMP Agent 40M2420 April 2007...