Banners display messages that anyone logging into the router can see. The following four types of banners display at various times during the login or startup sequence.
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.
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! #