Allied Telesis at-8700xl series switch manual Saving the Switch’s Configuration

Models: at-8700xl series switch

1 81
Download 81 pages 57.37 Kb
Page 51
Image 51
Saving the Switch’s Configuration

Operating the switch

51

Saving the Switch’s Configuration

To view the switch’s current dynamic configuration, enter the command:

SHOW CONFIGURATION DYNAMIC

To save any changes made to the dynamic configuration after the switch last restarted (booted) across a restart or power cycle, and save the modified configuration as a script file, enter the command:

CREATE CONFIG=filename.scp

To set the switch to execute this script file when it restarts, enter the command:

SET CONFIG=filename.scp

The configuration file created by CREATE CONFIG command records passwords in encrypted form, not in cleartext.

You can create a script file from any of the switch software commands. These are the same commands that are used to change the switch’s configuration dynamically. Manually edit a configuration file using the switch’s built in editor (see Using the Built-in Editor” on page 60), or upload it to a PC using the UPLOAD command (see the Operation chapter, AT-8700XL Series Software Reference), edit it using any text editor, and download it again. Give configuration script files an extension of .scp or .cfg.

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

SHOW CONFIG=filename

Storing Multiple Scripts

You can store multiple configuration scripts on the switch. This allows you to test new configuration scripts once, before setting them as the default configuration. For example, to test the new configuration script test.cfg, enter the command:

RESTART SWITCH CONFIG=test.cfg

Storing multiple scripts also allows you to keep a backup switch with configuration scripts stored on it for every switch in the network to speed up network recovery time.

Software Release 2.6.1 C613-02030-00 REV B

Page 51
Image 51
Allied Telesis at-8700xl series switch manual Saving the Switch’s Configuration, Storing Multiple Scripts