Create config – Allied Telesis AT-S63 User Manual

Page 192

Advertising
background image

Chapter 13: File System Commands

192

Section II: Advanced Operations

CREATE CONFIG

Syntax

create config=[cflash:]

filename

.cfg

Parameter

config

Specifies the name of a new configuration file. If the
filename contains spaces, enclose it in double quotes.
Otherwise, the quotes are optional. To store the
configuration file on a flash memory card, precede the
name with “cflash:”.

Description

This command creates a new configuration file. The file contains the
commands necessary to recreate the current configuration of the switch.

The CONFIG parameter specifies the name for the configuration file. The
file extension must be “.cfg”. If the file already exists, it is replaced. If the
file does not exist it is created.

The filename can be from 1 to 16 alphanumeric characters, not including
the “.cfg” extension. Spaces are allowed. Be sure to enclose the name in
double quotes if you include a space in the name. Wildcards are not
allowed.

This command does not change the assignment of the active boot
configuration file, which is the file the switch uses to configure itself the
next time it is reset or power cycled. To change the active boot
configuration file, refer to “SET CONFIG” on page 199.

Examples

The following command creates the new configuration file Switch12.cfg in
the switch’s file system. The file will contain all of the commands
necessary to recreate the switch’s current configuration:

create config=Switch12.cfg

The following command creates a configuration file named “l2
switches.cfg” and stores it on a compact flash card:

create config=cflash:”l2 switches.cfg”

Advertising