Initial Configuration

This section provides instructions for initial configuration of the Cisco 800M Series ISRs. For the initial configuration, we recommend using Cisco Configuration Professional Express. For instructions on how to use Cisco Configuration Professional Express to configure the router, see Cisco Configuration Professional Express User’s Guide.

You may also initially configure your router by using the Cisco IOS command-line interface (CLI) or by using the setup command facility. To create the initial configuration, the setup command facility prompts you for basic information about your router and network.

This section contains the following topics:

Cisco IOS CLI

To configure the initial router settings by using the Cisco IOS CLI, you must set up a console connection.

For instructions on how to set up a console connection, see the “Connecting a Terminal or PC to the Console Port” section.

Setup Command Facility

The setup command facility guides you through the configuration process by prompting you for the specific information that is needed to configure your system. Use the setup command facility to configure a hostname for the router, to set passwords, and to configure an interface for communication with the management network.

To use the setup command facility, you must set up a console connection with the router and enter the privileged EXEC mode.


Note For instructions on how to set up a console connection, see the “Connecting a Terminal or PC to the Console Port” section.


To configure the initial router settings by using the setup command facility, follow these steps:


Step 1 Set up a console connection to your router, and enter privileged EXEC mode.

Step 2 In privileged EXEC mode, at the prompt, enter setup.

yourname# setup
 

The following message is displayed:

--- System Configuration Dialog ---
 
Continue with configuration dialog? [yes/no]:
 

You are now in the setup command facility.

The prompts in the setup command facility vary, depending on your router model, on the installed interface modules, and on the software image. The following steps and the user entries (in bold) are shown as examples only.


Note If you make a mistake while using the setup command facility, you can exit and run the setup command facility again. Press Ctrl-C, and enter the setup command at the privileged EXEC mode prompt (Router#). For more information on using the setup command facility, see “The Setup Command” chapter in Cisco IOS Configuration Fundamentals Command Reference, Release 12.2T.


Step 3 To proceed using the setup command facility, enter yes.

Continue with configuration dialog? [yes/no]: yes
 

Step 4 When the following messages appear, enter yes to enter basic management setup.

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
 
Would you like to enter basic management setup? [yes/no]: yes
 

Step 5 Enter a hostname for the router (this example uses Router).

Configuring global parameters:
Enter host name [Router]: Router
 

Step 6 Enter an enable secret password. This password is encrypted (more secure) and cannot be seen when viewing the configuration.

The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: xxxxxx
 

Step 7 Enter an enable password that is different from the enable secret password. This password is not encrypted (less secure) and can be seen when viewing the configuration.

The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: xxxxxx
 

Step 8 Enter the virtual terminal password, which prevents unauthenticated access to the router through ports other than the console port.

The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: xxxxxx
 

Step 9 Respond to the following prompts as appropriate for your network.

Configure SNMP Network Management? [yes]:
Community string [public]:
 

A summary of the available interfaces is displayed.

Step 10 Choose one of the available interfaces for connecting the router to the management network.

Enter interface name used to connect to the
management network from the above interface summary: fastethernet4
 

Step 11 Respond to the following prompts as appropriate for your network.

Configuring interface FastEthernet4:
Use the 100 Base-TX (RJ-45) connector? [yes]: yes
Operate in full-duplex mode? [no]: yes
Configure IP on this interface? [yes]: yes
IP address for this interface: 172.1.2.3
Subnet mask for this interface [255.255.0.0] : 255.255.0.0
Class B network is 172.1.0.0, 26 subnet bits; mask is /16

The configuration is displayed:

The following configuration command script was created:
 
hostname Router
enable secret 5 $1$D5P6$PYx41/lQIASK.HcSbfO5q1
enable password xxxxxx
line vty 0 4
password xxxxxx
snmp-server community public
!
no ip routing
!
interface FastEthernet4
no shutdown
speed 100
duplex auto
ip address 172.1.2.3 255.255.0.0
!
 

Step 12 Respond to the following prompts. Enter 2 to save the initial configuration.

[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
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.
 
Press RETURN to get started! RETURN
 
The user prompt is displayed.
Router>
 

Step 13 Verify the initial configuration. See the “Verifying the Initial Configuration” section for verification procedures.


 

After the initial configuration file is created, you can use the Cisco IOS CLI to perform additional configuration.

Verifying the Initial Configuration

To verify that the new interfaces are operating correctly, perform the following tests:

  • To verify that the interfaces and line protocol are in the correct state—up or down—enter the show interfaces command.
  • To display a summary status of the interfaces configured for IP, enter the show ip interface brief command.
  • To verify that you configured the correct hostname and password, enter the show configuration command.

After you complete and verify the initial configuration, you can configure your Cisco router for specific functions.