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.
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
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: 220.127.116.11
Subnet mask for this interface [255.255.0.0] : 255.255.0.0
Class B network is 18.104.22.168, 26 subnet bits; mask is /16
The configuration is displayed:
The following configuration command script was created:
enable secret 5 $1$D5P6$PYx41/lQIASK.HcSbfO5q1
snmp-server community public
ip address 22.214.171.124 255.255.0.0
Step 12 Respond to the following prompts. Enter 2 to save the initial configuration.
 Go to the IOS command prompt without saving this config.
 Return back to the setup without saving this config.
 Save this configuration to nvram and exit.
Enter your selection : 2
Use the enabled mode 'configure' command to modify this configuration.
Press RETURN to get started! RETURN
The user prompt is displayed.
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.