# banner

#### Syntax

banner [ motd | login | exec ] bannerText

no banner [ motd | login | exec ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Configures message-of-the-day, login, or exec banners to be displayed by the CLI. If you do not specify an option, the behavior is the same as if you specified the motd option. The no version deletes the banner.

#### Options

- motd—Displays the banner when a console or vty connection is initiated
- login—Displays the banner before any user authentication (line or RADIUS authentication); the banner is also displayed if user authentication is not configured
- exec—Displays the banner after user authentication (if any) and before the first prompt of a CLI session
- bannerText—Alphanumeric string truncated at 1024 characters; delimited by the first character of the string, which must be repeated at the end of the string and must not occur anywhere else in the string

#### Mode

Global Configuration