7-51
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter7 Administering the Swi tc h Creating a Banner
Configuring a Login Banner
You can configure a login banner to be displayed on all connected terminals. This banner appear s aft er
the MOTD banner and before the login prompt.
Beginning in privileged EXEC mode, follow these steps to configure a login banner:
To delete the login banner, use the no banner login global configuration command.
This example shows how to configure a login banner for the switch by using the dollar sign ($) symbol
as the beginning and ending delimiter:
Switch(config)# banner login $
Access for authorized users only. Please enter your username and password.
$
Switch(config)#
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 banner login c message c Specify the login message.
For c, enter the delimiting character of your choice, for exampl e, 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.
For message, enter a login message up to 255 characters. You cannot use the
delimiting character in the message.
Step3 end Return to privileged EXEC mode.
Step4 show running-config Verify your entries.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.