banner
banner
motd
{
banner-string
|
require-enter-key
}
no banner
motd
{
banner-string
|
require-enter-key
}
A banner is not configured.
- exec
- Sets the EXEC process creation banner; that is, the message to be displayed when you enter the Privileged EXEC mode.
- incoming
- Sets the incoming terminal line banner; that is, the message to be displayed on the console when a user establishes a Telnet session.
- banner-string
- The ASCII string indicating the banner string in the format "c banner text c" where "c" is the delimiting character.
- motd
- Sets the message of the day (MOTD) banner; that is, the message to be displayed on a user terminal when a Telnet CLI session is established.
Global configuration mode
The banner-string includes a delimiting character. You begin and end the message with this delimiting character. The delimiting character can be any character except a double-quotation mark (") and cannot appear in the banner text. The banner text can be up to 4000 characters long, and can consist of multiple lines.
The
no form of the command removes the banner. Use the
no banner
motd
require-enter-key command to remove the requirement of pressing the Enter key once the banner text
is displayed.
The following example shows how to set a banner with "c" as the delimiting character.
device(config)# banner c Good Morning! c
The following example shows how to set a MOTD banner with "$" as the delimiting character.
device(config)# banner motd $ Welcome!!! $
The following example shows how to configure the requirement to press the Enter key after the banner message is displayed.
device(config)# banner motd require-enter-key