Initial Configuration Mode

The 2950 switch OS uses the same concepts of an initial configuration dialogue as does a router. When the switch initializes and finds no configuration file in NVRAM, it presents the console user with a question, asking whether to enter the initial configuration dialogue.

The only real difference between the router initial configuration dialogue and the 2950 switch initial configuration dialogue is in the things the switch lets you configure. Otherwise, the process is identical. Example 8-1 shows an example dialogue.

Example 8-1 Innitial Configuration Dialogue Example

— System Configuration Dialog —

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 Configuring global parameters:

Enter host name [Switch]: fred

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

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

Current interface summary

Any interface listed with OK? value "NO" does not have a valid configuration

Example 8-1 Innitial Configuration Dialogue Example (Continued)

Interface

IP-Address

OK?

Method

Status

Protocol

Vlan1

unassigned

NO

unset

up

up

FastEthernet0/1

unassigned

YES

unset

up

up

FastEthernet0/2

unassigned

YES

unset

up

up

FastEthernet0/3 !

unassigned

YES

unset

up

up

!Lines ommitted for !

brevity

GigabitEthernet0/1

unassigned

YES

unset

down

down

GigabitEthernet0/2

unassigned

YES

unset

down

down

Enter interface name used to connect to the management network from the above interface summary: fastethernet0/5

Enter interface name used to connect to the management network from the above interface summary: fastethernet0/5

Configuring interface FastEthernet0/5:

Configure IP on this interface? [no]: Would you like to enable as a cluster command switch? [yes/no]: no

The following configuration command script was created:

hostname fred enable secret 5 $1$wNE7$4JSktD3uN1Af5FpctmPz11

enable password notcisco line vty 0 15 password wilma no snmp-server ! !

interface Vlanl shutdown no ip address !

interface FastEthernet0/1 !

interface FastEthernet0/2 !

interface FastEthernet0/3 !

interface FastEthernet0/4 !

interface FastEthernet0/5 no shutdown no ip address !

! Lines ommitted for brevity !

interface GigabitEthernet0/1

continues

Example 8-1 Innitial Configuration Dialogue Example (Continued)

interface GigabitEthernet0/2 !

[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 Building configuration... [OK]

Use the enabled mode 'configure' command to modify this configuration. Press RETURN to get started!

As you can see from the example, the process works very much like router setup mode.

Was this article helpful?

0 0

Post a comment