beautypg.com

Working with configuration files – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 133

background image

Creating and Managing Files

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

6.9

To specify a backup configuration file, use the command:

where URL specifies the name and location of a configuration file.

You can change the content of the file set as the startup-config file by:

entering commands directly into the CLI, then saving this configuration using the
command:

This command saves the device’s dynamic configuration into the file that is currently
configured as the startup-config file.

writing commands into a configuration file (see

“Creating a configuration file”

below), then using the command:

This command saves the script from the source file into the file that is currently
configured as the startup-config file.

To display the name of the configuration file that is set to execute when the device
restarts, enter the command:

To see the commands in the startup-config file, use the command:

To erase the file set as the startup-config file, use the command:

At the next restart that occurs after you’ve erased the file, the device loads the
configuration in the file default.cfg. This file is set on the system as a backup
configuration file that loads if no other file is set as the startup-config file.

Working with configuration files

When you use the CLI or GUI to configure your device, it stores this dynamic configuration
as a list of commands called the running-config. To view the device’s running-config, use
the command:

If you turn off the device or restart it, any unsaved changes to the running-config are lost.
To save the running-config as a configuration script, use the command:

awplus(config)#

boot config-file backup

backup URL

awplus#

copy running-config

startup-config

awplus#

copy SOURCE-URL startup-config

awplus#

show boot

awplus#

show startup-config

awplus#

erase startup-config

awplus#

show running-config

awplus#

copy running-config destination-url