Send documentation comments to mdsfeedback-doc@cisco.com
3-2
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 3 B Commands
banner motd
banner motd
To configure a message of the day (MOTD) banner, use the banner motd command in configuration
mode.
banner motd [delimiting-character message delimiting-character]
no banner motd [delimiting-character message delimiting-character]
Syntax Description
Defaults None.
Command Modes Configuration mode.
Command History
Usage Guidelines The configured MOTD banner is displayed before the login prompt on the terminal whenever a user logs
in to a Cisco MDS 9000 Family switch.
Follow these guidelines when choosing your delimiting character:
• Do not use the delimiting-character in the message string.
• Do not use " and % as delimiters.
You can include tokens in the form $(token) in the message text. Tokens will be replaced with the
corresponding configuration variable. For example:
• $(hostname) displays the host name for the switch
• $(line) displays the vty or tty line no or name
• The $(line-desc) and $(domain) tokens are not supported.
Examples The following example configures a banner message with the following text “Testing the MOTD
Feature.”
switch# config terminal
switch(config)# banner motd # Testing the MOTD Feature. #
delimiting-character Identifies the delimiting character.
message Specifies the banner message that is restricted to 40 lines with a maximum
of 80 characters in each line.
Release Modification
1.3(4) This command was introduced.