Cisco 2940 User Manual

Page 75

Advertising
background image

C-7

Catalyst 2940 Switch Hardware Installation Guide

OL-6157-01

Appendix C Configuring the Switch with the CLI-Based Setup Program

Completing the Setup Program

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 Network Assistant GUI. You can later
configure the switch as a command switch through the CLI 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 that output:

The following configuration command script was created:

hostname host_name

enable secret 5 $1$Max7$Qgr9eXBhtcBJw3KK7bc850

enable password my

line vty 0 15

password my_password

snmp-server community public

!

no ip routing

!

interface Vlan1

no shutdown

ip address 172.20.139.145 255.255.255.224

!

interface Vlan2

shutdown

no ip address

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

...<output abbreviated>

!!!

interface GigabitEthernet0/1

!

end

Step 10

These choices appear:

[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 nonvolatile RAM (NVRAM) by selecting option 2.

Enter your selection [2]:2

Make your selection, and press Return.

Advertising