Specifications

3-269
Cisco Wide Area Application Services Command Reference
OL-11817-01
Chapter 3 CLI Commands
(config) banner
Note When you run an SSH version 1 client and log in to the WAE, the MOTD and login banners are not
displayed. You need to use SSH version 2 to display the banners when you log in to the WAE.
Examples The following example shows how to use the banner motd message global configuration command to
configure the MOTD banner. In this example, the MOTD message consists of a single line of text.
WAE(config)# banner motd message This is a WAAS 4.0.7 device
The following example shows how to use the banner motd message global command to configure a
MOTD message that is longer than a single line. In this case, the WAE translates the \n portion of the
message to a new line when the MOTD message is displayed to the user.
WAE(config)# banner motd message "This is the motd message.
\nThis is a WAAS 4.0.7 device\n"
The following example shows how to use the banner login message global configuration command to
configure a login message that is longer than a single line. In this case, WAE
A translates the \n portion
of the message to a new line in the login message that is displayed to the user.
WAE(config)# banner login message "This is login banner.
\nUse your password to login\n"
The following example shows how to enable banner support:
WAE(config)# banner enable
The following example shows how to use the banner exec global configuration command to configure
an interactive banner. The banner exec command is similar to the banner motd message commands
except that for the banner exec command, the banner content is obtained from the command-line input
that the user enters after being prompted for the input.
WAE(config)# banner exec
Please type your MOTD messages below and end it with '.' at beginning of line:
(plain text only, no longer than 980 bytes including newline)
This is the EXEC banner.\nUse your WAAS username and password to log in to this WAE.\n
.
Message has 99 characters.
WAE(config)#
Assume that a WAE has been configured with the MOTD, login, and EXEC banners as shown in the
previous examples. When a user uses an SSH session to log in to the WAE, the user will see a login
session that includes a MOTD banner and a login banner that asks the user to enter a login password as
follows:
This is the motd banner.
This is a WAAS 4.0.7 device
This is login banner.
Use your password to login.
Cisco Wide Area Application Services Engine
admin@wae's password:
After the user enters a valid login password, the EXEC banner is displayed, and the user is asked to enter
the WAAS username and password as follows:
Last login: Fri Oct 1 14:54:03 2004 from client
System Initialization Finished.
This is the EXEC banner.
Use your WAAS username and password to log in to this WAE.