Connecting and Logging In to a Switch
65
Cisco IOS- and Set-Based Commands
In this section, you'll learn how to configure the basics on both types of
switches. Specifically, you'll learn how to do the following:
Set the passwords
Set the hostname
Configure the IP address and subnet mask
Identify the interfaces
Set a description on the interfaces
Configure the port speed
Define the port duplex
Verify the configuration
Setting the Passwords
The first thing you should do is configure the passwords. You don't want
unauthorized users connecting to the switch. You can set both the usermode
and privileged mode passwords, just as you can with a router. However, you
use different commands.
As with any Cisco router, the login (usermode) password can be used to
verify authorization of the switch, including telnet and the console port. The
enable password is used to allow access to the switch so the configuration
can be viewed or changed.
The passwords cannot be less than four characters or more than eight. They
are not case sensitive.
5000 Series Set-Based Switch
To configure the two passwords on a 5000 series switch, use the command
set password
for the usermode password and the command set
enablepass
for the enable password:
1997 Mar 21 06:31:54 %SYS-5-MOD_OK:Module 1 is online
1997 Mar 21 06:31:54 %SYS-5-MOD_OK:Module 2 is online
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com