cisco — Configuring a Failed-Login Banner

Configuring a Login Banner To configure a banner that is displayed when a user logs in (replacing the default message for login), perform the following task: Before you begin To create a login banner, you must configure a delimiting character that notifies the system that the following text string must 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 single character in the extended ASCII character set, but once defined as the delimiter, that character cannot be used in the text string for the banner.

Procedure Configuring a Failed-Login Banner To configure a message that is displayed when a user login fails (replacing the default message for failed login), perform the following task: Before you begin To create a failed-login banner, you must configure a delimiting character, which notifies the system that the following text string must be displayed as the banner, and then configure the text string itself. The delimiting character is repeated at the end of the text string to signify the end of the failed-login banner. The delimiting Configuring Authentication Configuring a Login Banner Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode.

Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 aaa new-model Example: Device(config)# aaa new-model Enables AAA. Step 4 aaa authentication banner delimiter string delimiter Example: Device(config)# aaa authentication banner *Unauthorized use is prohibited.* Creates a personalized login banner. Step 5 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Configuring Authentication 24