Yes at these two prompts:
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.
Would you like to enter basic management setup? [yes/no]: yes
||Enter a host name for the
switch, and press
On a command switch, the host
name is limited to 28 characters; on a member switch the name is limited to 31
characters. Do not use
n is a
number, as the last character in a host name for any switch.
Enter host name [Switch]: host_name
||Enter an enable secret
password, and press
The password can be from 1 to
25 alphanumeric characters, can start with a number, is case sensitive, allows
spaces, but ignores leading spaces. The secret password is encrypted, and the
enable password is in plain text.
Enter enable secret: secret_password
||Enter an enable password, and
Enter enable password: enable_password
||Enter a virtual terminal
(Telnet) password, and press
The password can be from 1 to
25 alphanumeric characters, is case sensitive, allows spaces, but ignores
Enter virtual terminal password: terminal-password
||To configure the country
yes and press
Do you want to configure country code? [no]: yes
||Enter the country code, and
Enter the country code[US]:US
||(Optional) Configure Simple
Network Management Protocol (SNMP) by responding to the prompts. You can also
configure SNMP later through the CLI, Device Manager, or the Network Assistant
application. To configure SNMP later, enter
Configure SNMP Network Management? [no]: no
||Enter the interface name
(physical interface or VLAN name) of the connection to the management network,
Return. For this release,
vlan1 as that interface.
Enter interface name used to connect to the
management network from the above interface summary: vlan1
||Configure the interface by
entering the switch IP address and subnet mask and pressing
IP address and subnet masks shown are examples.
Configuring interface vlan1:
Configure IP on this interface? [yes]: yes
IP address for this interface: 10.4.120.106
Subnet mask for this interface [255.0.0.0]: 255.0.0.0
configure the switch as the cluster command switch. Enter
configure it as a member switch or as a standalone switch.
If you enter N, the switch appears as
a candidate switch in the Network Assistant GUI. You can configure the switch
as a command switch later through the CLI, Device Manager, or the Network
Assistant application. To configure it later, enter no.
Would you like to enable as a cluster command switch? [yes/no]: no
You have now completed the
initial configuration of the switch. This is an example of the configuration
output that appears:
The following configuration command script was created:
enable secret 5 $1$Ulq8$DlA/OiaEbl90WcBPd9cOn1
enable password enable_password
line vty 0 15
no ip routing
ip address 10.4.120.106 255.0.0.0
||From these choices that
appear, make your selection and press
 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.
Choose (2) to save the configuration to NVRAM to use it the next time the switch reboots.
Enter your selection :2
switch now runs this default configuration. If you want to change this
configuration or perform other management tasks, see