19
2.5.1 Copy-cfg Command
Use
“copy-cfg” command to backup a configuration file via FTP or TFTP server and restore the
Managed Switch back to the defaults or to the defaults but keep IP configurations.
1. Restore a configuration file via FTP or TFTP server.
Command
Parameter
Description
Switch# copy-cfg
from ftp [A.B.C.D]
[file name]
[user_name]
[password]
[A.B.C.D]
Enter the IP address of your FTP server.
[file name]
Enter the configuration file name that you
want to restore.
[user_name]
Enter the username for FTP server login.
[password]
Enter the password for FTP server login.
Switch# copy-cfg
from tftp [A.B.C.D]
[file_name]
[A.B.C.D]
Enter the IP address of your TFTP server.
[file name]
Enter the configuration file name that you
want to restore.
Example
Switch# copy-cfg from ftp 192.168.1.198 HS_0600_file.conf misadmin1 abcxyz
Switch# copy-cfg from tftp 192.168.1.198 HS_0600_file.conf
2. Backup a configuration file to FTP or TFTP server.
Command
Parameter
Description
Switch# copy-cfg to
ftp [A.B.C.D] [file
name] [user_name]
[password]
[A.B.C.D]
Enter the IP address of your FTP server.
[file name]
Enter the configuration file name that you want to
backup.
[user_name]
Enter the username for FTP server login.
[password]
Enter the password for FTP server login.
Switch# copy-cfg to
tftp [A.B.C.D]
[file_name]
[A.B.C.D]
Enter the IP address of your TFTP server.
[file name]
Enter the configuration file name that you want to
backup.
Example
Switch# copy-cfg to ftp 192.168.1.198 HS_0600_file.conf misadmin1 abcxyz
Switch# copy-cfg to tftp 192.168.1.198 HS_0600_file.conf
3. Restore the Managed Switch back to default settings.
Command / Example
Switch# copy-cfg from default
4. Restore the Managed Switch back to default settings but keep IP configurations.
Command / Example
Switch# copy-cfg from default keep-ip
Summary of Contents for FOS-3126-PLUS SERIES
Page 186: ...186 Restart DHCP service...