Configure the cisco ios software from the terminal – AIS Router AI2524 User Manual

Page 113

Advertising
background image

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 configuration commands.

3.

To exit configuration mode, press <Ctrl-Z>.

4.

Save the configuration file to your startup 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 of the next command line. The

hostname

command changes the router name from router1 to

router2. By pressing <Ctrl-Z>, the user quits configuration 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 NVRAM or the configuration 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-

Advertising