GS-4012F User’s Guide
Chapter 40 Command Examples 253
Figure 153 Enable RSTP Command Example
40.6 Configuration File Maintenance
This section shows you how to backup or restore the configuration file on the switch using
TFTP.
40.6.1 Backing up Configuration
Syntax:
copy running-config tftp <ip> <remote-file>
where
This command backs up the current configuration file on a TFTP server. The following
example backs up the current configuration to a file (
test.cfg) on the TFTP server
(
172.23.19.96).
Figure 154 CLI: Backup Configuration Example
40.6.2 Restoring Configuration
Syntax:
copy tftp config <index> <ip> <remote-file>
where
ras(config)# spanning-tree 10
ras#
<ip> =
The IP address of a TFTP server on which you want to store the
backup configuration file.
<remote-file> =
Specifies the name of the configuration file.
ras# copy running-config tftp 172.23.19.96 test.cfg
Backuping
. (683)Bytes Done!
ras#
<index> =
Specifies to restore which configuration file (1 or 2) on the switch.
<ip> =
The IP address of a TFTP server from which you want to get the
backup configuration file.
<remote-file> =
Specified the name of the configuration file.