25.
Status Monitoring, Statistics and General Commands
banner motd default
The banner motd default command, in Global Configuration mode, sets the default motd
(message-of-the-day) string. This is the
Access Verification and the password prompt.
Command Syntax
device-name(config)#banner motd default
banner set
The banner set command, in Global Configuration mode, assigns the specified string to motd
(message-of-the-day). This string will be displayed before User Access Verification and the
password prompt.
Command Syntax
device-name(config)#banner set MOTD_STRING
Argument Description
MOTD_STRING
Any string, including blank spaces and practically any character except for a
question mark (?).
no banner
The no banner command, in Global Configuration mode, removes the motd (message-of-the-
day) string set by the banner motd default or banner set command.
Command Syntax
device-name(config)#no banner
hostname
The hostname command, in Global Configuration mode, sets the name of the switch. This
name appears in the beginning of each prompt-line. To remove the host name use the no form
of this command.
Command Syntax
device-name(config)#hostname HOSTNAME
device-name(config)#no hostname
Argument Description
HOSTNAME
A character string starting with a letter followed by practically any characters except
for blank spaces and question marks.
Example
default(config)#hostname switch_area1
MN700004 Rev 01
string that will be displayed before User
hello
293