Configuration Procedure - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

For example, you can configure the shell banner "Have a nice day." as follows:
<System> system-view
[System] header shell %Have a nice day.%
Multiline banner.
A multiline banner can contain carriage returns. A carriage return is counted as two characters.
To input a multiline banner, use one of the following methods:
Method 1—Press Enter after the final command keyword, enter the banner as prompted, and
end the final line with the delimiter character %. For example, you can configure the banner
"Have a nice day. Please input the password." as follows:
<System> system-view
[System] header shell
Please input banner content, and quit with the character '%'.
Have a nice day.
Please input the password.%
The banner plus the end delimiter can have a maximum of 1999 characters.
Method 2—After you type the final command keyword, type any single printable character as
the start delimiter for the banner and press Enter. Then, type the banner as prompted and end
the final line with the same delimiter. For example, you can configure the banner "Have a nice
day. Please input the password." as follows:
<System> system-view
[System] header shell A
Please input banner content, and quit with the character 'A'.
Have a nice day.
Please input the password.A
The banner plus the end delimiter can have a maximum of 1999 characters.
Method 3—After you type the final command keyword, type the start delimiter and part of the
banner and press Enter. Then, enter the rest of the banner as prompted and end the final line
with the same delimiter. For example, you can configure the banner "Have a nice day. Please
input the password." as follows:
<System> system-view
[System] header shell AHave a nice day.
Please input banner content, and quit with the character 'A'.
Please input the password.
A
The banner plus the start and end delimiters can have a maximum of 2002 characters.

Configuration procedure

To configure banners:
Step
1.
Enter system view.
2.
Configure the legal banner.
3.
Configure the MOTD banner.
Command
system-view
header legal text
header motd text
219
Remarks
N/A
By default, the device does not have a
legal banner.
By default, the device does not have an
MOTD banner.

Advertisement

Table of Contents
loading

Table of Contents