R3303-HP HSR6800 Routers Fundamentals Command Reference

173
Parameters
incoming: Configures the banner displayed before a Modem dial-in user accesses user view.
legal: Configures the banner displayed before a user inputs the username and password to access the
CLI.
login: Configures the banner displayed before password or scheme authentication is performed for a
login user.
motd: Configures the greeting banner displayed before the legal banner appears.
shell: Configures the banner displayed before a non-Modem dial-in user accesses user view.
text: Banner message, which can be input in two formats. For more information, see Fundamentals
Configuration Guide.
Usage guidelines
Banners are greeting or alert messages that the system displays during the login process of a user.
Examples
# Configure banners.
<Sysname> system-view
[Sysname] header incoming %
Please input banner content, and quit with the character '%'.
Welcome to incoming(header incoming)%
[Sysname] header legal %
Please input banner content, and quit with the character '%'.
Welcome to incoming(header incoming)%
[Sysname] header legal %
Please input banner content, and quit with the character '%'.
Welcome to legal (header legal)%
[Sysname] header login %
Please input banner content, and quit with the character '%'.
Welcome to login(header login)%
[Sysname] header motd %
Please input banner content, and quit with the character '%'.
Welcome to motd(header motd)%
[Sysname] header shell %
Please input banner content, and quit with the character '%'.
Welcome to shell(header shell)%
In this example, the percentage sign (%) is the starting and ending characters of text. Entering % after the
displayed test quits the header command. As the starting and ending characters, % is not part of the
banners.
# Verify the configuration by using Telnet. (The login authentication is not configured.)
******************************************************************************
* Copyright (c) 2012 Hewlett-Packard Development Company, L.P. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Welcome to legal (header legal)
Press Y or ENTER to continue, N to exit.