GS-4012F/4024 User’s Guide

Figure 167 Enable RSTP Command Example

ras(config)# spanning-tree 10 ras#

41.6 Configuration File Maintenance

This section shows you how to backup or restore the configuration file on the switch using TFTP.

41.6.1 Configuration Backup

Syntax:

copy running-config tftp <ip> <remote-file>

where

 

 

<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.

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 168 CLI: Backup Configuration Example

ras# copy running-config tftp 172.23.19.96 test.cfg Backuping

. (683)Bytes Done! ras#

41.6.2 Configuration Restoration

Syntax:

copy tftp config <index> <ip> <remote-file>

where

 

 

<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.

Chapter 41 Command Examples

274