banner

Description                                                    Set the banners to be displayed when an admin logs onto the CLI or accesses the Privileged EXEC mode.

Syntax                                                                  [no] banner {exec | login} [multi-line end-marker] line

Parameter

Description

exec

Configures the EXEC mode banner (1-128 characters).

login

Configures the login banner (1-128 characters).

multi-line
end-marker

Hexadecimal number to indicate the end of a multi-line message. The end marker is a simple string up to 2-characters long, each of the which must be an ASCII character from the following range: 0x21-0x7e.

The multi-line banner text starts from the first line and ends at the marker. If the end marker is on a new line by itself, the last line of the banner text will be empty. If you do not want the last line to be empty, put the end marker at the end of the last non-empty line.

line

Specifies the banner text.

Default                                                                The default login banner is “ACOS system is ready now.”

The default EXEC banner is “[type ? for help]”.

Mode                                                                   Configuration mode

Example                                                            The following examples set the login banner to “welcome to login mode” and set the EXEC banner to a multi-line greeting:

ACOS(config)#banner exec welcome to exec mode

ACOS(config)#banner login multi-line bb

Enter text message, end with string 'bb'.

Here is a multi-line

Greeting.

bb

ACOS(config)#

Table of Contents

Index

Glossary

-Search-

Back