Setup Command on CISCO Router/Switch




This command provides a simple wizard that helps you setup your router with a simple configuration. If you find yourself accidentally in setup mode (by pressing ‘yes’ when the router boots then hold down the control and c keys to exit.




In the below example, the setup command is demonstrated.


— System Configuration Dialog —

Continue with 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

Would you like to enter basic management setup? [yes/no]: yes
Configuring global parameters:

Enter host name [R1]:

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: cisco

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: plaintext

The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password [cisco]:
Configure SNMP Network Management? [no]:

Current interface summary

Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 YES NVRAM up up
FastEthernet1/0 unassigned YES unset administratively down down
Loopback0 YES NVRAM up up

Enter interface name used to connect to the
management network from the above interface summary: Fa0/0
Invalid interface

Enter interface name used to connect to the
management network from the above interface summary: FastEthernet0/0

Configuring interface FastEthernet0/0:
Use the 100 Base-TX (RJ-45) connector? [yes]:
Operate in full-duplex mode? [no]:
Configure IP on this interface? [yes]:
IP address for this interface []:
Subnet mask for this interface [] :
Class A network is, 24 subnet bits; mask is /24

The following configuration command script was created:

hostname R1
enable secret 5 $1$puP5$qg8lX5KSv9wdQtskWhg2f0
enable password plaintext
line vty 0 4
password cisco
no snmp-server
no ip routing

interface FastEthernet0/0
no shutdown
media-type 100BaseX
ip address
no mop enabled
interface FastEthernet1/0
no ip address

[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

Related Articles

Inline Feedbacks
View all comments