3-9
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter3 Configuring the Switch for t he First Time
Configuring the Switch
Using Configuration Mode to Configure Your Switch
To configure your switch from configuration mode, perform this procedure:
Step1 Connect a console terminal to the console interface o f your supervisor engine.
Step2 After a few seconds, you will see the user EXEC prompt (Switch>). Now, you may want to enter
privileged EXEC mode, also known as enable mode. Type enable to enter enable mode:
Switch> enable
Note You must be in enable mode to make configuration changes.
The prompt will change to the enable prompt (#):
Switch#
Step3 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)#
Step4 At the global configuration mode prompt, enter the inter face type slot/interface command to enter
interface configuration mode:
Switch(config)# interface fastethernet 5/1
Switch(config-if)#
Step5 In either of these configuration modes, enter changes to the switch configuration.
Step6 Enter the end command to exit configuration mode.
Step7 Save your settings. (See the “Saving the Running Configuration Settings to Your Start-Up File” section
on page 3-10.)
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.
Verifying 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
!