Connecting and Logging In to a Switch
69
Console> en
Enter password:
Console> (enable) set prompt Todd5000
Todd5000 (enable) set prompt Todd5000>
Todd5000> (enable)
Because the location is his office, Todd5000 works for Todd. Notice that
the first command used did not include a > prompt. We like to see that
prompt, but you have to choose it. On a router, you can change the prompt,
but the default is always a > prompt.
1900 IOS-Based Switch
The 1900 switch command to set the hostname is exactly as it is with any
router. You use the hostname command (remember, it is one word):
1 user(s) now active on Management Console.
User Interface Menu
[M] Menus
[K] Command Line
[I] IP Configuration
Enter Selection: K
Enter password: ****
CLI session with the switch is open.
To end the CLI session, enter [Exit].
>en
Enter password: ****
#config t
Enter configuration commands, one per line. End with
CNTL/Z
(config)#hostname Todd1900EN
Todd1900EN(config)#
Setting the IP Information
You do not have to set any IP configuration on the switch to make it work. You
can just plug in devices and they should start working, as they do on a hub.
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com