Login Banner

Information About Login Banner

Login banner is used to display a warning or message when you try to login to the controller.

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.


Note


When HTTP authentication is configured using TACACS+/RADIUS, the banner message does not display on the Web UI.


Configuring a Login Banner (GUI)

Procedure


Step 1

Choose Administration > Device.

Step 2

In the General tab, in the Banner field, enter a name for the device and a message.

Step 3

Click Apply.


Configuring a Login Banner

Procedure

  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

banner login c message c

Example:


Device(config)# banner login $
Access for authorized users only. 
Please enter your username and 
password.
$

Specifies the login message.

  • c— Enters the delimiting character of your choice, for example, a pound sign (#), and press the Return key. The delimiting character signifies the beginning and end of the banner text. Characters after the ending delimiter are discarded.

  • message— Enters a login message up to 255 characters. You cannot use the delimiting character in the message.

Step 4

end

Example:

Device(config)# end

Returns to privileged EXEC mode.

Alternatively, you can also press Ctrl-Z to exit global configuration mode.

Step 5

show running-config

Example:

Device# show running-config

Verifies your entries.

Step 6

copy running-config startup-config

Example:

Device# copy running-config startup-config

(Optional) Saves your entries in the configuration file.