Configuring a banner, Introduction to banners – H3C Technologies H3C S7500E Series Switches User Manual
Page 170
11-8
To do…
Use the command…
Remarks
Enable the display of copyright
information
copyright-info enable
Optional
Enabled by default.
Disable the display of copyright
information
undo copyright-info enable
Required
Enabled by default.
Configuring a Banner
Introduction to banners
Banners are prompt information displayed by the system when users are connected to the device,
perform login authentication, and start interactive configuration. The administrator can set
corresponding banners as needed.
At present, the system supports the following five kinds of welcome information.
z
shell banner, also called session banner, displayed when a non TTY Modem user enters user
view.
z
incoming banner, also called user interface banner, displayed when a user interface is activated
by a Modem user.
z
login banner, welcome information at login authentications, displayed when password and
scheme authentications are configured.
z
motd (Message of the Day) banner, welcome information displayed before authentication.
z
legal banner, also called authorization information. The system displays some copyright or
authorization information, and then displays the legal banner before a user logs in, waiting for the
user to confirm whether to continue the authentication or login. If entering Y or pressing the Enter
key, the user enters the authentication or login process; if entering N, the user quits the
authentication or login process. Y and N are case insensitive.
Configuring a banner
When you configure a banner, the system supports two input modes. One is to input all the banner
information right after the command keywords. The start and end characters of the input text must be
the same but are not part of the banner information. In this case, the input text, together with the
command keywords, cannot exceed 510 characters. The other is to input all the banner information in
multiple lines by pressing the Enter key. In this case, up to 2000 characters can be input.
The latter input mode can be achieved in the following three ways:
z
Press the Enter key directly after the command keywords, and end the setting with the %
character. The Enter and % characters are not part of the banner information.
z
Input a character after the command keywords at the first line, and then press the Enter key. End
the setting with the character input at the first line. The character at the first line and the end
character are not part of the banner information.