Allied Telesis C613-02013-00 manual Editor, Saving Configuration Entered with the CLI

Models: C613-02013-00

1 66
Download 66 pages 27.56 Kb
Page 20
Image 20
Saving Configuration Entered with the CLI

20

Rapier Switch User Guide

Saving Configuration Entered with the CLI

Subsequent commands entered from the command line or executed from a script affect only the dynamic configuration in memory, which is not retained over a power cycle. Changes are not automatically stored in nonvolatile memory. When the switch is restarted the configuration will be restored to that defined by the boot script, or if the switch was restarted using the RESTART command, any script specified in the RESTART command.

To retain any configuration changes made after boot across a restart or power cycle, save the modified configuration as a script file, using the command:

CREATE CONFIG=filename

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

Editor

The switch has a built-in full-screen text editor for editing script files stored on the switch file subsystem. Scripts can be run manually, or run when a trigger automatically activates on some specified events in the switch. See “Triggers” on page 58, and the Trigger Facility chapter in the Rapier Switch Software Reference. To access the editor, use the command:

EDIT [filename]

The file name is optional as a file can be loaded, or a new file can be created from within the editor itself (Figure 5 on page 20).

Figure 5: The editor screen layout.

The editor uses VT100 command sequences and should only be used with a

VT100-compatible terminal, terminal emulation program or Telnet client.

To display editor Help at any time while in the editor press [Ctrl/K,H]; that is, hold down the Ctrl key and press in turn the K key then the H key.

Rapier Switch Software Release 2.2.1 C613-02013-00 Rev A

Page 20
Image 20
Allied Telesis C613-02013-00 manual Editor, Saving Configuration Entered with the CLI