Description: Here you
change the hostname and set motd (Message Of The Day) banner. To
specify or modify the host name for the network server, use the
hostname global configuration command.
syntax: hostname
<name>
Use banner motd to define
and enable a message-of-the-day (MOTD) banner command in global
configuration mode. To delete the MOTD banner, use the no form of
this command.
syntax: banner motd d message d
no banner motd
where d is the delimiting character
of your choice. ex —a pound sign (#). A delimiting character can
not be used in the banner message.
message Message text.
Instructions:
1. Enter privileged EXEC mode using the password is cisco.
2. Enter global configuration mode.
3. Change the host name to "Cairo"
4. Set the banner to "welcome", note that quotes not to be included in the banner.
5. Exit the global configuration mode.
R1>enable
R1>Password:cisco
R1#configure terminal
R1(config)#hostname Cairo
R1Cairo(config)#banner motd #welcome#
R1Cairo(config)#exit