hit counter script

Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual page 95

Mds 9000 family
Table of Contents

Advertisement

Chapter 2
Before You Begin
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 .
Configuring the Switch Banner Message
You can issue the banner motd command in configuration mode to configure a message of the day
(MOTD).
The syntax for this command from is banner motd [delimiting-character message delimiting-character]
The following example configures a banner message with the following text "Testing the MOTD
Feature."
switch# config t
switch(config)# banner motd # Testing the MOTD Feature. #
The message is restricted to 40 lines with a maximum of 80 characters in each line.
Use the show banner motd command to display the configured banner message:
The following example displays the configured banner message.
switch# show banner motd
Testing the MOTD Feature
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.
Testing the MOTD Feature
switch login:
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:
The following example spans multiple lines and uses tokens to configure the banner message:
switch# config t
switch(config)# banner motd #
Enter TEXT message. End with the character '#'.
Welcome to switch $(hostname).
Your tty line is $(line).
#
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Do not use the delimiting-character in the message string.
Do not use " and % as delimiter s.
displays the host name for the switch
$(hostname)
displays the vty or tty line or name
$(line)
CLI Command Navigation
Cisco MDS 9000 Family Configuration Guide
2-19

Advertisement

Table of Contents
loading

Table of Contents