Single-line input, Multiple-line input, Configuring a banner – H3C Technologies H3C SecPath F1000-E User Manual
Page 202: Banner configuration example
8
Configuring a Banner
The system supports two input modes for configuring a banner:
Single-line input
In this mode, all banner information and the command keywords are input in the same line. 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. Do not insert the line
feed character into the banner information.
Multiple-line input
In this mode, all the banner information is input in multiple lines by pressing the Enter key. In this case,
up to 2000 characters can be input.
Multi-line input mode can be achieved in the following three methods:
•
Method I: 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.
•
Method II: 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.
•
Method III: Input multiple characters after the command keywords at the first line (with the first and
last characters being different), then press the Enter key. End the setting with the first character
input at the first line. The first input character at the first line and the end character are not part of
the banner information. The line feed character inserted in the information is part of the banner
information.
Follow these steps to configure a banner:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the banner to be
displayed at login (available for
Modem login users)
header incoming text
Optional
Configure the banner to be
displayed at login authentication
header login text
Optional
Configure the authorization
information before login
header legal text
Optional
Configure the banner to be
displayed when a user enters user
view (non Modem login users)
header shell text
Optional
Configure the banner to be
displayed before login
header motd text
Optional
Banner Configuration Example
# Configure the banner to be displayed when a user enters user view as Welcome to H3C!.
•
Single-line input mode: