4-18
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
OL-25340-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:
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.
Note When configuring a banner using the "#" sign as a delimeter on
Supervisor Engine 7-E and Supervisor Engine 7L-E, you must
first turn off shell processing with the no shell processing
command. Else, you can not exit from the banner configuration.
### With shell processing enabled ###
Sup7# conf t
Enter configuration commands, one per line. End with
CNTL/Z.
Sup7(config)# ban
Sup7(config)# banner lo
Sup7(config)# banner login #
Enter TEXT message. End with the character '#'
test login banner
#
##
e#
Sup7(config)#
### With shell processing disabled ###
Sup7(config)# banner login #
Enter TEXT message. End with the character '#'
test login banner
#
Sup7(config)#
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.