Chapter 15: File System Commands

SET CONFIG

Syntax

set config=”filename.cfg”

Parameter

config

Specifies the name of the configuration file to act as

 

the active configuration file for the switch. The name

 

can be from 1 to 16 alphanumeric characters, not

 

including the extension “.cfg”. If the filename contains

 

spaces, it must be enclosed in double quotes.

Description

This command sets the active configuration file for a switch. The switch uses the active configuration file to configure its parameter settings when it is rebooted or power cycled.

To view the name of the current active configuration file, see SHOW

CONFIG on page 64.

You can specify a configuration file that already exists in the switch’s file system, or one that does not. To view the configuration files already in a switch’s file system, see SHOW FILE on page 234. Configuration files have a “.cfg” extension.

Note

The active boot configuration file is updated when you use the SAVE

CONFIGURATION command.

Selecting a new active boot configuration file does not change the current configuration of the switch. If you want the switch to reconfigure itself according to the configuration in the newly assigned active boot configuration file, reset or power cycle the unit.

You do not need to use the SAVE CONFIGURATION command when you change the designated active configuration file. The change is saved to permanent memory automatically.

If you specify a nonexistent configuration file, the switch creates the file after you use the SAVE CONFIGURATION command.

232

Page 232
Image 232
Allied Telesis management software layer 2+ fast ethernet switches manual SET Config, Set config=filename.cfg