banner

Defines a login banner.
Syntax
banner [ exec ] banner-string
no banner [ exec ] banner-string
banner motd { banner-string }
no banner motd { banner-string }
Command Default

A banner is not configured.

Parameters
exec
Sets the EXEC process creation banner; that is, the message to be displayed when you enter the Privileged EXEC mode.
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 after a Telnet, SSH, or Console session is successfully authenticated.
Modes

Global configuration mode

Usage Guidelines

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.

Examples

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!!! $
History
Release version Command history
09.0.00 This command was modified to remove the banner incoming command and the require-enter-key option.