Completing the Setup Program
follow these steps to complete the setup program and to create an initial configuration for the switch:
step 1 enter 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
step 2 enter a host name for the switch, and press return.
on a command switch, the host name is limited to 28 characters; on a member switch to 31 characters.do not use -n, where n is a number, as the last character in a host name for any switch.
enter host name [switch]: host_name
step 3 enter an enable secret password, and press return.
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
step 4 enter an enable password, and press return.
enter enable password: enable_password
step 5 enter a virtual terminal (telnet) password, and press return.
the password can be from 1 to 25 alphanumeric characters, is case sensitive, allows spaces, but ignores leading spaces.
enter virtual terminal password: terminal-password
step 6 (optional) configure simple network management protocol (snmp) by responding to the prompts. you can also configure snmp later through the cli, cms, or network assistant interface. to configure snmp later, enter no.
configure snmp network management? [no]: no
step 7 enter the interface name (physical interface or vlan name) of the interface that connects to the management network, and press return. for this release, always use vlan1 as that interface.
enter interface name used to connect to the
management network from the above interface summary: vlan1
step 8 configure the interface by entering the switch ip address and subnet mask and pressing return. the ip address and subnet masks shown below 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
step 9 enter y to configure the switch as the cluster command switch. enter n to configure it as a member switch or as a standalone switch.
if you enter n, the switch appears as a candidate switch in the cms or network assistant. you can configure the switch as a command switch later through the cli, cms, or network assistant interface. 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, and the switch displays its initial configuration. this is an example of output that appears:
the following configuration command script was created:
hostname switch1
enable secret 5 $1$ulq8$dla/oiaebl90wcbpd9con1
enable password enable_password
line vty 0 15
password terminal-password
no snmp-server
!
no ip routing
!
interface vlan1
no shutdown
ip address 10.4.120.106 255.0.0.0
!
interface fastethernet1/0/1
!
interface fastethernet1/0/2
interface fastethernet1/0/3
!
...[output abbreviated]
!
interface gigabitethernet2/0/28
!
end
step 10 these choices are displayed:
[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.
if you want to save the configuration and use it the next time the switch reboots, save it in nvram by selecting option 2.
enter your selection [2]:2
make your selection, and press return.
after you complete the setup program, the switch can run the default configuration that you created. if you want to change this configuration or want to perform other management tasks, use one of these tools:
1 command-line interface (cli)
2 cms from your browser
3 network assistant from your browser
to use the cli, enter commands at the switch] prompt through the console port by using a terminal program or through the network by using telnet. for configuration information, see the switch software configuration guide or the switch command reference.
to use cms, see the cms online help. to use network assistant, see the getting started with cisco network assistant guide.