Command Line Interface Reference Guide > The Configuration Menu > /cfg/ptcfg Saving the Active Switch Configuration
/cfg/ptcfg
Saving the Active Switch Configuration
Note: Backing up and restoring the configuration file may result in the loss of the CRL or CDP files. Therefore, in order to save the CRL file, before backing up the configuration, you should first upload the CRL file to the backup device. Then, after restoring (gtcfg) you can upload the saved CRL file to the primary device and operate a synchronization.
The vADC Administrator uses ptcfg to upload the vADC Administrator level configuration of an existing vADC to a specified destination on the file server.
The Global Administrator uses ptcfg to upload both the Global and vADC Administrator level configurations of one or all existing vADCs to a destination on the file server.
Note: The maximum number of vADCs depends on the Alteon Operating System version and platform. For more information, refer to the Alteon Maintenance and Installation Guide.
The following is the syntax for ptcfg used by the vADC administrator, where hostname is the TFTP or FTP server IP address or hostname.
 
Configuration# ptcfg <hostname> <-tftp | username password> [-mgmt | -data] <scp> <mansync>
The mansync command allows you to save the alphanumeric ID and the internal index number of real servers, groups, and virtual servers to a standard backup file. Without using the mansync command, a standard backup file without internal index numbers is created.
Note: The mansync option is not supported in the Alteon Web Based Management interface. When there is a need to export and import a configuration using the mansync capability, do this from the CLI only. When a configuration that was exported using mansync is imported via the Alteon Web Based Management interface, some configuration information may be lost without notifying the user or generating an error.
The following is the ptcfg prompt and a description of the import options for the Global Administrator:
Global Administrator Active Switch Configuration Restoration
Select Backup option [all/global/vadc]:
 
Active Switch Configuration Restoration Menu Options (/cfg/ptcfg) 
Command Syntax and Usage
all
 
This option enables the Global Administrator to backup the complete system configuration - Administrator (VX) and vADC files.
In ADC-VX mode, this option Only appears in the Global Administrator environment.
When prompted, set the following parameters:
Enter hostname (and IP version) or IP address of FTP/TFTP/SCP server:
Enter username for FTP/SCP server or hit return for TFTP server:
global
 
This option enables the Global Administrator to back up the Administrator (VX) configuration.
When prompted, set the following parameters:
Enter hostname or IP address of FTP/TFTP/SCP server:
Enter hostname (and IP version) or IP address of FTP/TFTP/SCP server:
Enter username for FTP/SCP server or hit return for TFTP server:
Enter vADC number: [1-n, all]:
vadc
 
This enables the Global Administrator to back up vADC configuration files from an existing vADC and define the type of file to back up.
*all — Creates a backup of all vADC configuration files. In ADC-VX mode, this option Only appears in the Global Administrator environment.
When prompted, set the following parameters:
Enter vADC number: [1-n, all]:
Enter hostname (and IP version) or IP address of FTP/TFTP/SCP server:

Enter username for FTP/SCP server or hit return for TFTP server:
*vadmin — Creates a vADC Administrator level backup file, containing the configuration information available to the vADC administrator.
When prompted, set the following parameters:
Enter vADC number: [1-n, all]:
Enter hostname (and IP version) or IP address of FTP/TFTP/SCP server:
Enter username for FTP/SCP server or hit return for TFTP server: