Information Technology Reference
In-Depth Information
Configuration File Manipulation (Continued)
Table 3-2
configure memory
copy startup-config running-config
Copies the configuration in NVRAM into active memory
(running configuration).
write memory
copy running-config startup-config
Copies the active configuration into NVRAM.
copy tftp running-config
configure network
Copies the configuration file from a TFTP server into active
memory.
copy running-config tftp
write network
Copies the active configuration to a TFTP server.
write erase
Erases the configuration file in NVRAM.
show configuration
show startup-config
Copies the startup configuration in NVRAM to the terminal
screen.
Example 3-11 shows the write erase operation. After the erasure of the configuration in
NVRAM is complete, show configuration displays that no configuration is present.
Example 3-11 write erase Command Used to Erase the Startup Configuration
R1#write erase
Erasing the nvram filesystem will remove all files! Continue? [confirm]y
[OK]
Erase of nvram: complete
R1#
R1#show configuration
%% Non-volatile configuration memory is not present
R1#
Password Recovery
Router password recovery is accomplished by rebooting the router and breaking into ROM
monitor mode, setting the device to ignore the configuration file, rebooting, canceling the Initial
Configuration Dialog, configuring memory, and then reading or resetting the password. You
must be familiar with the password recovery steps for the test.
The following procedure is from Cisco's web site. This is the procedure for routers using
Reduced Instruction Set Computer (RISC)-based processors:
Turn the power switch off and back on to recycle the power.
Step 1
Press the Break key or key sequence to put the router into ROM monitor
mode. The Break key varies by computer or terminal software. The sequence
might be CTRL-D , CTRL-Break , CTRL-] , or another combination.
Step 2
 
Search WWH ::




Custom Search