Erasing image and configuration files
To erase software images or configuration files, use the commands described
below. These commands are valid at the Privileged EXEC level of the CLI.
v erase flash primary erases the image stored in primary flash of the system.
v erase flash secondary erases the image stored in secondary flash of the
v erase startup-config erases the configuration stored in the startup configuration
Scheduling a system reload
In addition to reloading the switch manually, you can configure the system to reload
itself at a specific time or after a specific amount of time has passed.
Note: The scheduled reload feature requires the system clock. You can use a
Reloading at a specific time
To schedule a system reload for a specific time, use one of the following methods.
To schedule a system reload from the primary flash module for 6:00:00 AM, January
19, 2006, enter the following command at the Privileged EXEC level of the CLI:
Syntax: reload at <hh:mm:ss> <mm-dd-yy> [primary | secondary]
<hh:mm:ss> is the hours, minutes, and seconds.
<mm-dd-yy> is the month, day, and year.
primary | secondary specifies whether the reload is to occur from the primary code
flash module or the secondary code flash module. The default is primary.
Reloading after a specific amount of time
To schedule a system reload to occur after a specific amount of time has passed on
the system clock, use one of the following methods.
To schedule a system reload from the secondary flash one day and 12 hours later,
enter the following command at the Privileged EXEC level of the CLI:
Syntax: reload after <dd:hh:mm> [primary | secondary]
<dd:hh:mm> is the number of days, hours, and minutes.
primary | secondary specifies whether the reload is to occur from the primary code
flash image or the secondary code flash image.
configuration commands to remove the configuration information, then
use configuration commands to create the configuration information you
want. Command option 30 erases the entire running-config and replaces
it with the new configuration file.
system.
file; however, the running configuration remains intact until system reboot.
Simple Network Time Protocol (SNTP) server to set the clock or you can set
the device clock manually.
NetIron# reload at 06:00:00 01-19-06
NetIron# reload after 01:12:00 secondary
Chapter 7. Upgrading software images and configuration files
55