Chapter 3
Configuring the Switch for the First Time
Using Configuration Mode to Configure Your Switch
To configure your switch from configuration mode, perform this procedure:
Connect a console terminal to the console interface of your supervisor engine.
Step 1
After a few seconds, you will see the user EXEC prompt (
Step 2
privileged EXEC mode, also known as enable mode. Type enable to enter enable mode:
Switch> enable
Note
The prompt will change to the enable prompt (#):
Switch#
Step 3
At the enable prompt (#), enter the configure terminal command to enter global configuration mode:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
At the global configuration mode prompt, enter the interface type slot/interface command to enter
Step 4
interface configuration mode:
Switch(config)# interface fastethernet 5/1
Switch(config-if)#
In either of these configuration modes, enter changes to the switch configuration.
Step 5
Step 6
Enter the end command to exit configuration mode.
Step 7
Save your settings. (See the
on page
Your switch is now minimally configured and can boot with the configuration you entered. To see a list
of the configuration commands, enter ? at the prompt or press the help key in configuration mode.
Checking the Running Configuration Settings
To verify the configuration settings you entered or the changes you made, enter the show
running-config command at the enable prompt (#), as shown in this example:
Switch# show running-config
Building configuration...
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
OL-6696-01
You must be in enable mode to make configuration changes.
"Saving the Running Configuration Settings to Your Start-up File" section
3-10.)
). Now, you may want to enter
Switch>
Software Configuration Guide—Release 12.2(25)EW
Configuring the Switch
3-9