HES7000 ICLI User’s Guide A01583 Rev. A
Page
35
of 37
7.1. Reverting to Default Configuration
It is possible to reset the system to its default configuration in two ways:
Deleting
startup-config
and rebooting
Instructing the software to discard the current configuration and reset to defaults
without rebooting
Deleting
startup-config
doesn’t change
running-config
until the system is rebooted, at which
time defaults are loaded.
Conversely, discarding the current configuration does indeed affect
running-config
but does
not touch
startup-config
. An explicit
copy running-config startup- config
is necessary to
make the change persistent.
Rebooting and resetting to the default configuration is accomplished with the
reload
command:
The
reload cold
version reboots the system. If the system is stacking-capable, a specific
switch can be rebooted by supplying its switch ID.
reload cold
[
sid
switch_id
]
The second method loads configuration defaults. If the
keep-ip
keyword is given then the
system attempts to keep the most relevant parts of the VLAN 1 IP setup in order to maintain
management connectivity: The IP address setup and the active default route.
reload defaults
[
keep-ip
]
Note
There is no guarantee, however, that the above is sufficient. It depends on the actual
network properties and the system’s total IP configuration. In some cases it may be
preferable to explicitly un-configure the system using
‘no’ commands, or prepare a suitable
configuration and download it to the
system’s
startup-config
and reboot.
Example 13. Working With Configuration Files
The following example assumes a file system which contains an additional file called
backup
,
previously created with a
copy
command.
List files in flash:
myDevice#
dir
Directory of flash:
r- 1970-01-01 00:00:00 648 default-config
rw 1970-01-06 03:57:33 1313 startup-config
rw 1970-01-01 19:54:01 1237 backup
3 files, 3198 bytes total.
Display the conte
nts of the file ‘backup’ (output is abbreviated):
myDevice#
more flash:backup
hostname myDevice
...
end
Use file ‘backup’ for the next boot by overwriting startup-config:
myDevice#
copy flash:backup startup-config
% Saving 1237 bytes to flash:startup-config
Summary of Contents for HES7000
Page 1: ...HES7000 ICLI USER S GUIDE A01583 Rev A ...
Page 3: ...HES7000 ICLI User s Guide A01583 Rev A ...
Page 4: ......