C-6
Catalyst2940 Switch Hardware Installation Guide
OL-6157-01
AppendixC Configuring the Switch with the CLI-Based Setup Program
Completing the Setup Program
Completing the Setup Program
Follow these steps to complete the setup program and to create an initial configuration for the switch:
Step1 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
Step2 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
Step3 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
Step4 Enter an enable password, and press Return.
Enter enable password:
enable_password
Step5 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
Step6 (Optional) Configure Simple Network Management Protocol (SNMP) by responding to the prompts. You
can also configure SNMP later through the CLI, the device manager, or the Network Assistant
application. To configure SNMP later, enter no.
Configure SNMP Network Management? [no]: no
Step7 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
Step8 Configure the interface by entering the switch IP address and subnet mask and pressing Return. These
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