4-18
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 4 Administering the Switch
Creating a Banner
Default Banner Configuration
The MOTD and login banners are not configured.
Configuring a Message-of-the-Day Login Banner
You can create a single or multiline message banner that appears on the screen when someone logs in to
the switch.
To configure a MOTD login banner, perform this task:
This example shows how to configure a MOTD banner for the switch by using the pound sign ( #) symbol
as the beginning and ending delimiter:
Switch(config)# banner motd #
it is a secure site. Only authorized users are allowed.
For access, contact technical support.
#
Switch(config)#
This example shows the banner that appears from the previous configuration:
Unix> telnet 172.2.5.4
Trying 172.2.5.4...
Connected to 172.2.5.4.
Escape character is '^]'.
it is a secure site. Only authorized users are allowed.
For access, contact technical support.
User Access Verification
Password:
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 banner motd c message c Specifies the message of the day.
To delete the MOTD banner, use the no banner motd global
configuration command.
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. Characters after the
ending delimiter are discarded.
For message, enter a banner message up to 255 characters. You cannot
use the delimiting character in the message.
Step 3 end Returns to privileged EXEC mode.
Step 4 show running-config Verifies your entries.
Step 5 copy running-config startup-config (Optional) Saves your entries in the configuration file.