AIS AI2524 Manuel D’Utilisation

Page de 418
Chapter 7: Manually Loading System Images
August 1997
Page 7-15
2524UM
In this example, the software is configured from the file tokyo-config 
at IP address 131.108.2.155:
Router1# copy tftp running-config 
Host or network configuration file [host]? 
IP address of remote host [255.255.255.255]? 131.108.2.155 
Name of configuration file [tokyo-confg]? 
Configure using tokyo-confg from 131.108.2.155? [confirm] y
Booting tokyo-confg from 131.108.2.155:!!!
[OK - 874/16000 bytes]
Copy a Configuration File Directly to the Startup 
Configuration
You can copy a configuration file directly to your startup configura-
tion without affecting the running configuration. This task loads a con-
figuration file directly into NVRAM in a location specified by th
CONFIG_FILE environment variable.
To copy a configuration file directly to the startup configuration, type 
this command in EXEC mode: 
copy tftp startup-config
Modify the Configuration Register Boot Field
The configuration register boot field determines whether the router 
loads an operating system image and, if so, where it obtains this sys-
tem image. The next sections describe the process for using the con-
figuration register boot field, your process for setting this field, and the 
tasks you must perform to modify the configuration register boot field.
How the Router Uses the Boot Field
The lowest four bits of the 16-bit configuration register (bits 3, 2, 1, 
and 0) form the boot field. These boot field values determine whether 
the router loads an operating system and where it obtains the system 
image:
z
When the entire boot field equals 0-0-0-0, the router does not load 
a system image. Instead, it enters ROM monitor or "maintenance" 
mode from which you can enter ROM monitor commands to man-
ually load a system image.
z
When the entire boot field equals 0-0-0-1, the router loads the sys-
tem image found in boot ROMs.