![H3C S5500-HI Switch Series Скачать руководство пользователя страница 162](http://html1.mh-extra.com/html/h3c/s5500-hi-switch-series/s5500-hi-switch-series_fundamentals-configuration-manual_3750974162.webp)
151
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable displaying the copyright
statement
copyright-info
enable
Optional
Enabled by default.
Configuring banners
Introduction to 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
You can configure the following types of 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 appears only when password or scheme login authentication has been configured.
•
Incoming banner appears for Modem dial-in users and the shell banner appears for users that use
any other access method to access the CLI.
Message input modes
The system supports single-line input and multiple-line input for configuring a banner.
1.
Single-line input
In single-line input mode, all banner information is input in the same line. The start and end characters
of the input text must be the same and are not part of the banner information. The input text, together with
the command keywords, cannot exceed 510 characters. In this mode, do not press
Enter
after typing the
banner information. For example, to configure a banner like “Have a nice day.”, use the following
command:
<System> system-view
[System] header shell %Have a nice day.%
2.
Multiple-line input
In multiple-line input mode, you can press
Enter
to separate the banner information in multiple lines. In
this case, up to 2000 characters can be typed.
Multi-line input can be performed with the following methods:
•
Method I—Press the
Enter
key directly after the command keywords, type the banner information,
and end with the % character. The % character is not part of the banner information. For example,
to configure a banner like “Have a nice day. Please input the Password.”, use the following
commands:
<System> system-view
[System] header shell
Please input banner content, and quit with the character '%'.
――
System prompt