Text File Configuration; Creating A Text Configuration File - Allied Telesis SwitchBlade x3100 Series Manual

Release 14.2 - issue 2
Table of Contents

Advertisement

Introduction

1.9.2 Text File Configuration

1.9.2.1 Introduction
A text configuration file is a "snapshot" of the configuration database including all of the non-default configura-
tion commands in a text-based (rather than binary) file. The source of the data to build the configuration file
was the binary database in RAM memory, not the binary database in the onboard flash.
The advantage to having a text file is that it can be read (unlike a binary file), modified if necessary, saved, and
then used to configure (or reconfigure) this or other systems.
Since the file is in text rather than binary format, applying a configuration file will take longer (by
Note:
minutes) than a binary file.
Following are the major tasks and commands used for this feature.

1.9.3 Creating a Text Configuration file

1.9.3.1 Introduction
The parameter FILE is used to write either to the local FLASH (destinationfile) or the SD (using the format
SD<no.>:destinationfile).
In the case where the onboard flash file system is not reliable due to a flash write failure condition, the user also
has to option to specify another destination for the configuration file output.
The BACKUP CONFIG command therefore allows the user to specify alternative file output destinations, sim-
ilar to the file output options supported by the BACKUP DATABASE command. The file destination can be
specified using an optional parameter on the BACKUP CONFIG command. If the optional parameter is not
specified, the default behavior will be to write the output file to the onboard flash file system.
The following procedure shows the commands used to create a backup file that reflects current configuration
of the system and save it to an SD card as well as to TFTP server.
TABLE 1-20
Step
Command
Note the IP address of the destination TFTP server on which to save configuration file: 10.52.65.42.
Note the SD card on which to save configuration file: SD4
Initiate the backup to an SD card.
backup config file sd4:D104.cfg
1
View status of database backup.
1-124
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
Procedure for Backing Up the Config
Text File Configuration
Description/Notes
Saves the current configuration of the system to
the designated SD card (SD4) with a filename of
"D104.cfg".

Advertisement

Table of Contents
loading

Table of Contents