Cisco 4700M Administration Manual page 31

Application control engine appliance
Hide thumbs Also See for 4700M:
Table of Contents

Advertisement

Chapter 1
Setting Up the ACE
Detailed Steps
Command
Step 1
config
Example:
host1/Admin# config
host1/Admin(config)#
text
Step 2
banner motd
Example:
host1/Admin(config)# banner motd #Welcome
to "$(hostname)"...#
OL-20823-01
Purpose
Enters global configuration mode.
Configures the message-of-the-day banner.
The text argument is a line of message text to be displayed as the
message-of-the-day banner. The text string consists of all
characters that follow the first space until the end of the line
(carriage return or line feed).
The pound (#) character functionsas the delimiting character for
each line. For the banner text, spaces are allowed but tabs cannot
be entered at the CLI. To instruct the ACE to display multiple
lines in a message-of-the-day banner, enter a new banner motd
command for each line that you want to appear.
The banner message is a maximum of 80 characters per line, up
to a maximum of 3000 characters (3000 bytes) for a
message-of-the-day banner. This maximum value includes all
line feeds and the last delimiting character in the message.
To add multiple lines to an existing a message-of-the-day
banner, precede each line by using the banner motd command.
The ACE appends each line to the end of the existing banner. If
the text is empty, the ACE adds a carriage return (CR) to the
banner.
You can include tokens in the form $(token) in the message text.
Tokens will be replaced with the corresponding configuration
variable. For example, enter:
$(hostname)—Displays the hostname for the ACE during
run time.
$(line)—Displays the tty (teletypewriter) line or name (for
example, "/dev/console", "/dev/pts/0", or "1").
To use the $(hostname) in a single line banner motd input, you
must include double quotes (") around the $(hostname) so that
the $ is interpreted as a special character at the beginning of a
variable in the single line (see the Step example).
Do not use the double quote character (") or the percent sign
character (%) as a delimiting character in a single line message
string.
For multi-line input, double quotes (") are not required for the
token because the input mode is different from signal-line mode.
When you operate in multi-line mode, the ACE interprets the
double quote character (") literally.
Cisco 4700 Series Application Control Engine Appliance Administration Guide
Setting Up the ACE
1-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents