DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Step 1
Device>
enable
Enters the global configuration mode.
configure terminal
Example:
Step 2
Device#
configure terminal
Specifies the message of the day.
banner motd c message c
Step 3
Example:
c—
Enters the delimiting character of your choice, for
example, a pound sign (#), and press the
Return
key. The
Device(config)#
banner motd #
delimiting character signifies the beginning and end of the
This is a secure site. Only
banner text. Characters after the ending delimiter are
discarded.
authorized users are allowed.
For access, contact technical
support.
message—
Enters a banner message up to 255 characters.
You cannot use the delimiting character in the message.
#
Returns to privileged EXEC mode.
end
Example:
Step 4
Device(config)#
end
Verifies your entries.
show running-config
Example:
Step 5
Device#
show running-config
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Step 6
Device#
copy running-config startup-config
Configuring a Login Banner
You can configure a login banner to be displayed on all connected terminals. This banner appears after the
MOTD banner and before the login prompt.
Follow these steps to configure a login banner:
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
28
Administering the Device
Configuring a Login Banner