7-52
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 7 Administering the Switch
Creating a Banner

Configuring a Message-of-the-Day Login Banner

You can crea te a sin gl e or mult ilin e m essa ge b anne r tha t a ppea rs on the scr een wh en so m eone lo g s in to
the switch.
Beginning in privileged EX EC mode, fol low these steps to con figure a MOTD logi n banner:
To delete the MOTD banner, use the no banner motd g loba l c onfigurat ion com ma nd.
This example show s how to configure a MO TD banner for the switch by using the pound sign (#) symbol
as the b eginning an d e nd ing deli mi ter:
Switch(config)# banner motd #
This is a secure site. Only authorized users are allowed.
For access, contact technical support.
#
Switch(config)#
This example shows the banner displayed from the previous configuration:
Unix> telnet 172.2.5.4
Trying 172.2.5.4...
Connected to 172.2.5.4.
Escape character is '^]'.
This is a secure site. Only authorized users are allowed.
For access, contact technical support.
User Access Verification
Password:
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode.
Step 2 banner motd c message c Spec ify t he m es sag e of t he day.
For c, enter 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. Cha racters a fter the
ending de limiter are discarded.
For message, enter a banner messa ge up to 255 ch arac ters. You cann ot
use the delimiting character in the message.
Step 3 end Return to privileged EXEC mode.
Step 4 show running-config Verify yo ur ent ries.
Step 5 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.