beautypg.com

How to save to the default configuration file, How to create and use a new configuration file – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 41

background image

Getting Started

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

1.17

How to Save and Boot from the Current
Configuration

This section tells you how to save your configuration and run the saved configuration
when the switch starts up.

You can either:

save the configuration to the switch’s default configuration file (called “default.cfg”).
By default, the switch uses that file at start-up.

create a new configuration file and set the switch to use the new configuration file at
start-up.

How to Save to the Default Configuration File

Enter Privileged Exec mode and enter the command:

The parameter startup-config is a short-cut for the current boot configuration file, which
will be the default configuration file unless you have changed it, as described in the next
section.

How to Create and Use a New Configuration File

Step 1:

Copy the current configuration to a new file

Enter Privileged Exec mode and enter the command:

Example

To save the current configuration in a file called example.cfg, enter the command

Step 2:

Set the switch to use the new file at startup

To run the new file’s configuration when the switch starts up, enter Global Configuration
mode and enter the command:

Note that you can set the switch to use a configuration file on a USB storage device if you
have saved the configuration file to a USB storage device. You can only specify that the
configuration file is on a USB storage device if there is a backup configuration file already
specified in Flash.

To set a backup configuration file to load if the main configuration file cannot be loaded,
enter the command:

awplus#

copy running-config startup-config

awplus#

copy running-config <destination-url>

awplus#

copy running-config example.cfg

awplus(config)#

boot config-file <filepath-filename>

awplus(config)#

boot config-file backup