beautypg.com

6 configuration file maintenance, 1 configuration backup, 2 configuration restoration – ZyXEL Communications ZyXEL Dimension GS-4012F User Manual

Page 274

background image

GS-4012F/4024 User’s Guide

Chapter 41 Command Examples

273

Figure 166 Enable RSTP Command Example

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

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

41.6.2 Configuration Restoration

Syntax:

copy tftp config

where

ras(config)# spanning-tree 10
ras#

=

The IP address of a TFTP server on which you want to store the
backup configuration file.

=

Specifies the name of the configuration file.

ras# copy running-config tftp 172.23.19.96 test.cfg
Backuping
. (683)Bytes Done!
ras#

=

Specifies to restore which configuration file (1 or 2) on the switch.

=

The IP address of a TFTP server from which you want to get the
backup configuration file.

=

Specified the name of the configuration file.