It’s possible and prudent to create a message that will
appear to everyone logging in to the User mode. This message should be a polite
warning of company security policies for unauthorized access. Some courts have
held that if this isn’t explicitly stated—telling people to stay out, then it’s
an implicit invitation to come in and raise havoc.
To configure this message, use the banner motd
command in the Global Configuration mode. The syntax is a little unusual in that
you type the command, followed by a character you don’t plan to include in the
message. This character becomes a delimiter, in that everything you type after
it until the character appears again will be part of the message. An example
would be banner motd *No Unauthorized Access* where the
asterisks indicate the beginning and the end of the message. The asterisks won’t
appear in the message.
You can make multiple-line messages by using SHIFT-ENTER at the end of the line and ignoring the
warning message that appears the first time you try it. The following lines
demonstrate this technique. Typing a new MOTD replaces any existing one.
Rtr1#conf t
Rtr1(config)#banner motd * Unauthorized Access Could Result In Termination
Enter TEXT message. End with the character '*'. <-Ignore this
If you have any trouble with this device, call:
Mark Smith in IT Tech Support
Phone: (555) 555-1111 ext 1234*
Rtr1(config)#^Z
Rtr1#
The next login attempt would look like the following:
Unauthorized Access Could Result In Termination
If you have any trouble with this device, call:
Mark Smith in IT Tech Support
Phone: (555) 555-1111 ext 1234
User Access Verification
Password:
Three other options can be used with the banner
{exec | incoming | login | motd} command that allow for variations on when
the banner can be used. The MOTD option has been included because it causes the
warning to appear at login for all users and is the most frequently used. You
can use the help feature to see the other options.