118 Login BannerExampleThe following example sets a Login banner that uses tokens. The percent sign (%) is used as a delimitingcharacter. Notice that the $(token) syntax is replaced by the corresponding configuration variable.banner motdThe banner motd Global Configuration mode command specifies and enables a message-of-the-daybanner. Use the no form of this command to delete the existing MOTD banner.Syntax• banner motdd message d• no banner motd• d — Delimiting character, for example a pound sign (#). A delimiting character cannot be used inthe banner message.• message — Message text. The message must start in a new line and can be a multi-line message.Tokens in the form $(token) in the message text can be included. Tokens are replaced with thecorresponding configuration variable. Tokens are described in the usage guidelines.Default ConfigurationDisabled (no MOTD banner is displayed).Command ModeGlobal Configuration mode.User Guidelines• Follow this command with one or more blank spaces and a delimiting character. Then enter one ormore lines of text, terminating the message with the second occurrence of the delimiting character.• When a user connects to a device, the message-of-the-day (MOTD) banner appears first, followed bythe login banner and prompts. After the user logs in to the device, the EXEC banner is displayed.Console (config)# banner login %Enter TEXT message. End with the character '%'.You have entered $(hostname).$(domain)%When the login banner is executed, the user will see the following banner:You have entered host123.ourdomain.com5400_CLI.book Page 118 Wednesday, December 17, 2008 4:33 PM