To configure a personalized banner that will be displayed at user login, use the aaa authentication banner global configuration command. Use the no form of this command to remove the banner.
aaa authentication banner dstringd
no aaa authentication banner
d  The delimiting character at the beginning and end of the string that notifies the system that the string is to be displayed as the banner. The delimiting character can be any character in the extended ASCII character set, but once defined as the delimiter, that character cannot be used in the text string making up the banner.
string  Any group of characters, excluding the one used as the delimiter. The maximum number of characters that you can display is 2996.
Not enabled
Global configuration
Release | Modification | 11.3(4)T | This command was introduced. |
---|
Use the aaa authentication banner command to create a personalized message that appears when a user logs in to the system. This message or banner will replace the default message for user login.
To create a login banner, you need to configure a delimiting character, which notifies the system that the following text string is to be displayed as the banner, and then the text string itself. The delimiting character is repeated at the end of the text string to signify the end of the banner. The delimiting character can be any character in the extended ASCII character set, but once defined as the delimiter, that character cannot be used in the text string making up the banner.
The following example shows the default login message if aaa authentication banner is not configured. (RADIUS is specified as the default login authentication method.)
aaa new-model aaa authentication login default radius
This configuration produces the following standard output:
User Verification Access Username: Password:
The following example configures a login banner (in this case, the phrase "Unauthorized use is prohibited.") that will be displayed when a user logs in to the system. In this case, the asterisk (*) symbol is used as the delimiter. (RADIUS is specified as the default login authentication method.)
aaa new-model aaa authentication banner *Unauthorized use is prohibited.* aaa authentication login default radius
This configuration produces the following login banner:
Unauthorized use is prohibited. Username:
Command | Description |
---|---|
aaa authentication fail-message | Configures a personalized banner that will be displayed when a user fails login. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.