Banner Command List

Banners display messages that anyone logging into the device can see. The following four types of banners display at various times during the login or startup sequence.

Use . . .

To . . .

Router(config)#banner
Router(config)#banner motd

Set the Message-of-the-day (MOTD) banner. The MOTD banner displays immediately after a connection is made.

Router(config)#banner login

Set the login banner. The login banner displays after the MOTD banner and before the login prompt.

Router(config)#banner exec

Set the EXEC banner. The exec banner displays after a successful login.

Router(config)#banner incoming

Set the incoming banner. The incoming banner displays for a reverse telnet session.

Router(config)#no banner <type>

Removes the specified banner

Note: The banner command without a keyword defaults to set the MOTD banner.

Follow the banner command with a delimiting character. The delimiter encloses the banner text, and helps the router identify the beginning and ending of the banner. This allows you to construct multiple-line banners.

Example
The following commands set the MOTD, login, and EXEC banners, using # as the delimiting character and inserting a hard return between each banner:

Router(config)#banner motd # This is the Message-of-the-day banner! 
#
Router(config)#banner login # This is the Login banner! 
#
Router(config)#banner exec # This is the Exec banner! 
#




Credit: Testout 640-802 CCNA Notes