******************************************************************************
* Copyright (c) 2010-2011 Hewlett-Packard Development Company, L.P.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
Task...
Enter system view
Enable displaying the copyright
statement
Configuring banners
Banners are messages that the system displays when a user connects to the device to perform login
authentication, and start interactive configuration.
Banner types
Configure the following banners:
Legal banner appears after the system displays the copyright or license statement for a user
•
attempting to log in. To continue authentication or login, the user must enter Y or press Enter. To quit
the process, the user must enter N. Y and N are case insensitive.
Message of the Day (MOTD) banner displays the greeting message and appears after the legal
•
banner and before the login banner.
Login banner only appears when password or scheme login authentication has been configured.
•
Shell banner appears for users that access the CLI.
•
Message input modes
The system supports single-line input and multiple-line input for configuring a banner.
Single-line input
1.
In single-line input mode, all banner information is entered in the same line.
•
The start and end characters of the entered text must be the same and are not part of the banner
•
information.
The entered text, together with the command keywords, cannot exceed 510 characters.
•
In this mode, do not press Enter after typing the banner information. For example, configure the
•
banner "Have a nice day." as follows:
<System> system-view
[System] header shell %Have a nice day.%
Multiple-line input
2.
In multiple-line input mode, press Enter to separate the banner information in multiple lines.
In this case, up to 2000 characters can be entered.
Multi-line input can be performed with the following methods:
Command...
system-view
copyright-info enable
119
*
*
*
Remarks
—
Optional
Enabled by default.