Cisco Router System Configuration Dialog

The final entry from the System Configuration Dialog shown above asked for a virtual terminal password. This password will be required to access the router via a telnet session. Again, my suggestion is to choose a different password than your enable secret password. Passwords will be looked at in more detail once we get to the command line.
The extended setup continues by asking whether you want to configure a variety of routing or routed protocols on the system. For the purpose of this illustration, I’m going to stick to configuring IP only.

Configure SNMP Network Management? [no]: n
Configure DECnet? [no]:
Configure AppleTalk? [no]:
Configure IPX? [no]: n
Configure IP? [yes]: yes
Configure IGRP routing? [yes]: no
Configure RIP routing? [no]:
Configure bridging? [no]:

The next step in the process depends on your router model. If it had an ISDN BRI interface (such as on the 2503, for example) you would be prompted to configure its properties. Since there are so many possibilities based on different hardware models, we’ll jump straight to the interface configuration section.

Configuring interface parameters:
Do you want to configure Ethernet0 interface? [yes]: y
Configure IP on this interface? [yes]: y
IP address for this interface: 192.168.1.46
Subnet mask for this interface: 255.255.255.0
Class C network is 192.168.1.0, 24 subnet bits; mask is /24
Do you want to configure Serial0 interface? [no]: y
Configure IP on this interface? [no]: y
Configure IP unnumbered on this interface? [no]: n
IP address for this interface: 192.168.2.1
Subnet mask for this interface [255.255.255.0] : 255.255.255.0
Class C network is 192.168.2.0, 24 subnet bits; mask is /24

Do you want to configure Serial1 interface? [no]: n

The extended setup just walked us through a very simple method of configuring IP addresses and subnet masks for the interfaces of our Cisco 2501. I also chose not to configure the Serial1 interface – we’ll leave that for the command line. After choosing not to configure that last interface, we are immediately presented with the router’s brand new running configuration, based on the settings entered during the setup process.

The following configuration command script was created:
hostname toronto-1
enable secret 5 $1$x73p$iIK9q8cRLza30wwITfd28.
enable password cisco2
line vty 0 4
password cisco3
no snmp-server
!
no decnet routing
no appletalk routing
no ipx routing
ip routing
no bridge 1
!
interface Ethernet0
ip address 192.168.1.46 255.255.255.0
no mop enabled
!
interface Serial0
no shutdown
ip address 192.168.2.1 255.255.255.0
no mop enabled
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
!
interface Serial1
shutdown
no ip address
dialer-list 1 protocol ip permit
dialer-list 1 protocol ipx permit
!
end
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]: 2

The last choice to be made involves deciding whether or not we wish to save the configuration that we’ve entered. Remember that it can always be changed later. Choosing option 2 here will save the running configuration that was just displayed to NVRAM, ultimately making it the router’s startup configuration. We’ll look at the details of configuration files later in the chapter. For now, notice the interface configurations as well as the encrypted enable secret password shown above.

Author: Dan DiNicolo

Dan DiNicolo is a freelance author, consultant, trainer, and the managing editor of 2000Trainers.com. He is the author of the CCNA Study Guide found on this site, as well as many books including the PC Magazine titles Windows XP Security Solutions and Windows Vista Security Solutions. Click here to contact Dan.