System Management Guide Security
Edition: 01 3HE 11018 AAAC TQZZA 159
motd
Syntax motd {url url-prefix:source-url | text motd-text-string}
no motd
Context config>system>login-control
Description This command creates the message of the day that is displayed after a successful console
login. Only one message can be configured.
The no form of the command removes the message.
Default no motd
Parameters url-prefix: source-url — when the message of the day is present as a text file, provide
both the url-prefix and the source-url of the file containing the message of the day.
The URL prefix can be local or remote.
motd-text-string — the text of the message of the day, up to 900 characters long. The
motd-text-string must be enclosed in double quotes. Multiple text strings are not
appended to one another.
Some special characters can be used to format the message text. The “\n” character
creates multi-line MOTDs and the “\r” character restarts at the beginning of the new
line. For example, entering “\n\r” will start the string at the beginning of the new line,
while entering “\n” will start the second line below the last character from the first line.
pre-login-message
Syntax pre-login-message login-text-string [name]
no pre-login-message
Context config>system>login-control
Description This command creates a message displayed prior to console login attempts on the console
via Telnet.
Only one message can be configured. If multiple pre-login messages are configured, the last
message entered overwrites the previous entry.
The system name can be added to an existing message without affecting the current
pre-login message.
The no form of the command removes the message.
Default no pre-login-message
Parameters login-text-string — a text string, up to 900 characters. Any printable, 7-bit ASCII
characters can be used. If the string contains special characters (#, $, spaces, etc.),
the entire string must be enclosed within double quotes.