7-53
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 7 Adminis tering the Switch Creating a Banner

Configuring a Login Banner

You can co nfigure a log in banne r to be displ aye d on all c onn ec ted ter mina ls. T his bann er ap pear s a fter
the M OTD bann er a nd be fo re t he l o gin pro mpt.
Beginning i n privileged EX EC mo de , follow these s teps to c on figure a lo gin banne r:
To delete the login banner, use the no banner login global con figuration co mman d.
This example shows how to configure a login ban ner for th e swi tch by usin g the do llar si gn ( $) symbol
as the b eginning an d e nd ing deli mi ter:
Switch(config)# banner login $
Access for authorized users only. Please enter your username and password.
$
Switch(config)#
Command Purpose
Step 1 configure terminal Enter glob al co nfiguration mo de.
Step 2 banner login c message c Specify the login me ssage.
For c, enter the de limit ing char acter of your choic e, for exampl e, a pound
sign (#), an d press the Return key. The delimiting character signifies the
beginning and end of the banne r text. Cha rac ters afte r the endi ng del imi ter
are disc arde d.
For message, enter a login message up to 255 characters. You cannot use the
delimiting character in the message.
Step 3 end Return to privileged EXEC mode.
Step 4 show running-config Verify your entries.
Step 5 copy running-config startup-config (Optional) Save your entries in the configuration file.