Specifications
3-477
Cisco Wide Area Application Services Command Reference
OL-21611-01
Chapter 3 CLI Commands
(config) banner
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.
After the user enters a valid WAAS username and password, the WAE CLI is displayed. The CLI prompt
varies depending on the privilege level of the login account. In the following example, because the user
entered a username and password that had administrative privileges (privilege level of 15), the EXEC
mode CLI prompt is displayed:
WAE#