H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Command Reference
Config
146 59272-00 C
delete [config_name]
Deletes the configuration given by [config_name]. You cannot delete the default
configuration (Default Config) nor the active configuration.
edit [config_name]
Opens an edit session for the configuration given by [config_name]. If you omit
[config_name], the currently active configuration is used.
export [account_name] [ip_address] [file_name]
Exports an existing backup configuration file (configdata) from the switch to a
remote server. The server IP address and corresponding user account are given
by [ip_address] and [account_name] respectively. [ip_address] can be an IP
address or a DNS host name. The file name on the remote server is given by
[file_name]. The system will prompt for a password if the server requires one.
import [account_name] [ip_address] [file_name]
Imports a backup configuration file given by [file_name] from a remote server to
the switch. The server IP address and corresponding user account are given by
[ip_address] and [account_name] respectively. [ip_address] can be an IP address
or a DNS host name. The file name on the remote server is given by [file_name].
The system will prompt for a password if the server requires one. You must enter
the Config Restore command to apply the configuration to the switch.
list
Displays a list of all available configurations. This keyword does not require an
Admin session.
restore import
Restores configuration settings from a backup file named configdata, which must
be first uploaded on the module using FTP. You create the backup file using the
Config Backup command. Use FTP to load the backup file on the module, then
enter the Config Restore command. After the restore is complete, the module
automatically resets. Refer to “Back Up and Restore a Switch Module
Configuration” on page 68.
The optional Import keyword imports the backup file from a remote server
prompting you for an account name, server IP address or DNS host name,
configuration file name on the server, and a password if the server requires one.
When the upload is complete, the switch restores the configuration.










