Chapter 3 B Command - Cisco AJ732A - MDS 9134 Fabric Switch Command Reference Manual

Cisco mds 9000 family command reference guide - release 4.x (ol-18089-01, february 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

banner motd
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
banner motd
To configure a message of the day (MOTD) banner, use the banner motd command in configuration
mode.
Syntax Description
delimiting-character
message
Defaults
None.
Command Modes
Configuration mode.
Command History
Release
1.3(4)
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:
You can include tokens in the form $(token) in the message text. Tokens will be replaced with the
corresponding configuration variable. For example:
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. #
The following example spans multiple lines and uses tokens to configure the banner message:
switch# config terminal
Cisco MDS 9000 Family Command Reference
3-2
banner motd [delimiting-character message delimiting-character]
no banner motd [delimiting-character message delimiting-character]
(Optional) Identifies the delimiting character.
(Optional) Specifies the banner message that is restricted to 40 lines with a
maximum of 80 characters in each line.
Modification
This command was introduced.
Do not use the delimiting-character in the message string.
Do not use " and % as delimiters.
$(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.
Chapter 3
B Commands
OL-18089-01, Cisco MDS NX-OS Release 4.x

Advertisement

Table of Contents
loading

Table of Contents