background image
Configuration Processes and the Configuration File 43
As Example 2-2 illustrates, you can use two methods to get into setup mode. First, if you are at
the console and you power up the router, and if there is no configuration file in NVRAM, the
router asks whether you want to enter the "initial configuration dialog." Answering y or yes puts
you in setup mode. Alternatively, the setup privileged EXEC command puts you in setup mode.
When you are finished with setup, you are asked whether you want to use this configuration. If
you answer yes, the configuration you created is placed in RAM and NVRAM. This is the only
operation in the IOS that changes both files to include the same contents based on a single
action.
As of IOS version 12.0, the setup mode prompts no longer ask for the number of subnet bits.
Instead, the subnet mask used is requested, which is probably a lot better for most people. Other
fine details of the setup mode prompts have changed as well. Example 2-3 shows an example
using IOS version 12.0 and is simply shown here for reference.
ip routing
!
interface Serial0
ip address 163.4.8.3 255.255.0.0
!
interface Serial1
shutdown
no ip address
!
interface Ethernet0
ip address 163.5.8.3 255.255.0.0
!
end
Use this configuration? [yes/no]: y
Building configuration...[OK]
Use the enabled mode 'configure' command to modify this configuration.
Press ENTER to get started!
Example 2-3
Router Setup Configuration Mode--Version 12.0
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: yes
At any point you may enter a question mark '?' for help.
Use Ctrl+c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system
Example 2-2
Router Setup Configuration Mode (Continued)
continues
ch02.fm Page 43 Monday, March 20, 2000 4:57 PM