Use this command to set the banner message for pre- and post-session login.
login message | Specifies a message displayed pre-session login. This is a text string that can be formatted with tabs (\t) and new line escape (\n) characters. The \t tabs will be converted into 8 spaces in the banner output. |
motd message | Specifies a message of the day displayed post-session login. This is a text string that can be formatted with tabs (\t) and new line escape (\n) characters. The \t tabs will be converted into 8 spaces in the banner output. |
None.
All command modes.
Use the \? escape sequence when ending a banner with a question mark to avoid the question mark being treated as a help request.
A pre-session login banner will cause a prompt to display when logging on to the system requiring the user to verify y/n before the login will continue. For example if the banner login is “By proceeding with this login you are verifying that you are a member of the Extreme Networks documentation group and are authorized to use this system.” The following will display prior to entering the login password:
By proceeding with this login you are verifying that you are a member of the Extreme Networks documentation group and are authorized to use this system.
Proceed to login? (y/n) [n]?
This example shows how to set the post-session message of the day banner to read “Change is the price of survival. -- Winston Churchill” :
System(rw)->set banner motd Change is the price of survival. \n\t--Winston Churchill
This example shows how to set the pre-session login to read “There is nothing more important than our customers.” :
System(rw)->set banner login There is nothing more important than our customers