Certexams practice tests and network simulator Register             Login

Home >Network Simulator Labs>Set Hostname and MOTD Banner

Available labs  |   Supported Commands  |   Product Help

CertExams.com Simulator Lab Exercises Answers

Set Hostname and MOTD Banner

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.


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#configure terminal
R1(config)#hostname Cairo
R1Cairo(config)#banner motd #welcome#

Real Time Web Analytics