Allied Telesis AT-9000/28POE Switch User Manual


  Open as PDF
of 1480
 
AT-9000 Switch Command Line User’s Guide
93
Another way to delete the file is with the ERASE STARTUP-CONFIG
command, also in the Privileged Exec mode. The advantage of this
command over the DELETE command is that you do not have to know the
name of the active boot configuration file. When you enter the command, a
confirmation prompt is displayed. If you enter “Y” for yes, the switch
automatically deletes the active boot configuration file from the file system.
Afterwards, you can reset the switch with the REBOOT command so that it
restores the default settings.
Here is the sequence of commands and messages:
awplus> enable
awplus# erase startup-config
erase start-up config? (y/n):y
Deleting..
Successful Operation
awplus# reboot
reboot switch? (y/n): y
If you prefer to keep the active boot configuration file, you can rename it
with the MOVE command in the Privileged Exec mode and then reset the
switch. Here is the format of the MOVE command:
move
filename1
.cfg
filename2
.cfg
The FILENAME1 parameter is the name of the configuration file you want
to rename. The FILENAME2 parameter is the file’s new name. The
extensions of the files must be “.cfg”. For example, if the name of the
active boot configuration file is “Sales_unit.cfg,” these commands rename
it to “Sales_unit_backup.cfg” and reset the switch:
awplus> enable
awplus# move Sales_unit.cfg Sales_unit_backup.cfg
awplus# reboot
reboot switch? (y/n): y
To resume managing the switch after restoring the default settings, you
must establish a local management session from the Console port.
Remote management is not possible because the switch will not have a
management IP address.
Note
For instructions on how to create a new boot configuration file, refer
to Chapter 28, “Boot Configuration Files” on page 443.