Creating and Using Configuration Files
This section provides instructions on:
■
■
■
Creating a Configuration File
A configuration file is a text file that contains a sequence of standard commands for a specific
purpose. Configuration files have a .cfg extension. Your device has a default configuration script
called default.cfg.
You can create and edit configuration files on your device by:
■
■
■
Once you have created a configuration file, you can use it as the startup-config file. See
"Specifying the Start-up Configuration Script"
Specifying the Start-up Configuration Script
When you restart your device, or when it automatically restarts, it executes the pre-configured
commands in a configuration script known as the boot config or startup-config file.
When you first start your device, the script set as the startup-config file is default.cfg. If desired,
you can overwrite default.cfg with another configuration. Alternatively, you can change the
startup-config by specifying a new file as the startup-config. Use the command:
where URL specifies the name and location of a configuration file. At the next restart, the
device executes the commands in the specified file.
C613-50007-01 REV B
Creating a Configuration File
Specifying the Start-up Configuration Script
Working with Configuration Files
saving the dynamic configuration on the device, known as the running-config (see
with Configuration
Files"). Use the command:
awplus#copy running-config (destination-URL)
Where URL specifies a file in flash.
using the device's text editor. Use the command:
awplus#edit (source-URL)
where source-URL is the name of the copied file in Flash memory.
creating a file on a remote PC, then copying it to onto your device. See
more information about using the copy commands.
awplus(config)#boot config-file
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
for more information.
URL
Creating and Managing Files
"Working
"Copying files"
for
6.7