background image
Hands-on Labs
239
config t
line con 0
logging synchronous
Hands-on Lab 4.5: Setting the Hostname, Descriptions,
IP Address, and Clock Rate
1.
Log into the router and go into privileged mode by typing en or
enable
.
2.
Set your hostname on your router by using the hostname command.
Notice that it is one word. Here is an example of setting your
hostname:
Router#config t
Router(config)#hostname RouterA
RouterA(config)#
Notice that the hostname of the router changed as soon as you pressed
Enter.
3.
Set a banner that the network administrators will see by using the
banner
command.
4.
Type config t, then banner ?.
5.
Notice that you can set four different banners. For this exam we are
only interested in the login and message of the day (MOTD) banners.
6.
Set your MOTD banner, which will be displayed when a console,
auxiliary, or Telnet connection is made to the router by typing
config t
banner motd #
This is an motd banner
#
7.
The preceding example used a # sign as a delimiting character. This
tells the router when the message is done. You cannot use the delim-
iting character in the message.
8.
You can remove the MOTD banner by typing
config t
no banner motd
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com