Cisco Catalyst 4500 series Administration Manual page 193

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 4
Administering the Switch
To configure a MOTD login banner, perform this task:
Command
Step 1
configure terminal
Step 2
banner motd c message c
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
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)#
OL-30933-01
Purpose
Enters global configuration mode.
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.
When configuring a banner using the "#" sign as a delimeter on
Note
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.
CNTL/Z.
Sup7(config)# ban
Sup7(config)# banner lo
Sup7(config)# banner login #
Enter TEXT message.
test login banner
#
##
e#
Sup7(config)#
### With shell processing disabled ###
Sup7(config)# banner login #
Enter TEXT message.
test login banner
#
Sup7(config)#
For message, enter a banner message up to 255 characters. You cannot
use the delimiting character in the message.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Creating a Banner
End with the character '#'
End with the character '#'
End with
4-25

Advertisement

Table of Contents
loading

Table of Contents