Specifications

Chapter 4 Configuring the Data Interfaces
Configuring the Host Name and Password
4-2
Catalyst 4224 Access Gateway Switch Software Configuration Guide
OL-2031-02
Configuring the Host Name and Password
One of your first configuration tasks is to configure the host name and set an
encrypted password. Configuring a host name allows you to distinguish multiple
Catalyst 4224s. Setting an encrypted password allows you to prevent
unauthorized configuration changes.
To configure the host name and password, perform these tasks:
Task Command
Step 1
Enter enable mode.
Enter the password.
You know you have entered enable mode
when the prompt changes to
gateway#.
gateway> enable
Password: <password>
gateway#
Step 2
Enter global configuration mode.
You know you have entered global
configuration mode when the prompt changes
to
gateway(config)#.
gateway# configure terminal
Enter configuration commands, one per
line. End with Ctrl-Z.
gateway(config)#
Step 3
Provide the Catalyst 4224 a meaningful
name. Substitute your host name for gwy1.
gateway(config)# hostname gwy1
gwy1(config)#
Step 4
Substitute your enable secret password for
guessme.
This password gives you access to privileged
EXEC mode. When you type enable at the
EXEC prompt (
gateway> ), you must enter
the enable secret password to gain access to
configuration mode.
gwy1(config)# enable secret guessme
Step 5
Enter line configuration mode to configure
the console port. When you enter line
configuration mode, the prompt changes to
gwy1(config-line)#.
gwy1(config)# line con 0
gwy1(config-line)#