Command Reference Guide

N8406-022A 1Gb Intelligent L2 Switch Command Reference Guide (AOS) 110
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 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.
Restoring the active switch configuration
Command: /cfg/gtcfg <FTP/TFTP server> <filename>
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 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 <FTP/TFTP server> <filename>
Where <FTP/TFTP server> is the FTP/TFTP server IP address or hostname and <filename> is the name of the
target script configuration file.
Enter the user name, if you are using a FTP server:
Enter username for FTP server or hit return for TFTP server: <userID>
Enter the password for the FTP server (if prompted):
Enter password for username on FTP server: <password>
NOTE: The switch supports three configuration files: active, backup, and factory. See the ―Selecting a
configuration block‖ section in the ―Boot Options Menu‖ chapter for information on how to set which
configuration file to use upon boot up.