Chapter 7: Manually Loading System Images
August 1997 Page 7-13
2524UM
ever, you can list the comments in configuration files stored on a TFTP
server.
Configure the Cisco IOS software from the Terminal
When you configure the software from the terminal, it executes the
commands you enter at the system prompts. To configure the software
from the terminal:
1. Enter configuration mode and select the terminal option.
configure terminal
2. Enter the necessary configurat ion commands.
3. To exit configuration mode, pre ss <Ctrl-Z>.
4. Save the configuration file to your s tartup configuration. This step
saves the configuration to NVRAM.
copy running-config startup-config
In this example, the software is configured from the terminal. The
comment The following command provides the router
host name identifies the purpose o f the next command line. The
hostname command changes the rou ter name from router1 to
router2. By pressing <Ctrl-Z>, the user quits config uration mode. Fi-
nally, the copy running-config startup-config com-
mand saves the current configuration to the startup configuration.
Router1# configure terminal
Router1(config)#
! The following command provides the router host name.
Router1(config)# hostname router2
^Z
Router2# copy running-config startup-config
When the startup configuration is NVRAM, it stores the current con-
figuration information in text format as configuration commands, re-
cording only nondefault settings. The memory is checksummed to
guard against corrupted data.
The startup software always checks for configuration information in
NVRAM. If NVRAM holds valid configuration commands, the Cisco
IOS software executes the commands automatically at startup. If th
software detects a problem with NVRA M or th e con f iguration it con-
tains, it enters setup mode and prompts for configuration. Problems
can include a bad checksum for the information in NVRAM or the ab-